Skip to content

Commit

Permalink
Add note about suboptimal error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
JedMeister committed Mar 30, 2022
1 parent 93c8182 commit 3b6f0d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ebsmount-manual
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def main():

if filesystem not in config.filesystems.split():
raise parser.error(
# XXX TODO this message could be better/clearer
f"{filesystem} is not supported in {config.CONF_FILE}")

format_dev = subprocess.run([f"mkfs.{filesystem}", "-q", args.devname],
Expand Down

0 comments on commit 3b6f0d6

Please sign in to comment.