Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format the help output a bit #2

Open
Lavesson opened this issue Mar 5, 2016 · 0 comments
Open

Format the help output a bit #2

Lavesson opened this issue Mar 5, 2016 · 0 comments

Comments

@Lavesson
Copy link
Owner

Lavesson commented Mar 5, 2016

It looks slightly messy right now. Maybe by increasing the spacing between the two columns to avoid the row breaks. Currently, it looks something like this:

usage: dirpart [-h] [-o [out]] [-m] [-e [pattern]] [-s [folder]] [in]

Partition files into A-Z sub directories

positional arguments:
  [in]                  The directory to partition

optional arguments:
  -h, --help            show this help message and exit
  -o [out], --out [out]
                        Output dir. Defaults to current folder
  -m, --move            Move files instead of copying
  -e [pattern], --regexp [pattern]
                        Apply to files matching the regex only
  -s [folder], --special [folder]
                        Use a special folder to put files starting with one or
                        more dots. Defaults to '!misc'

I'd much rather see something like this:

usage: dirpart [-h] [-o [out]] [-m] [-e [pattern]] [-s [folder]] [in]

Partition files into A-Z sub directories

positional arguments:
  [in]                  The directory to partition

optional arguments:
  -h, --help                         show this help message and exit
  -o [out], --out [out]              Output dir. Defaults to current folder
  -m, --move                         Move files instead of copying
  -e [pattern], --regexp [pattern]   Apply to files matching the regex only
  -s [folder], --special [folder]    Use a special folder to put files starting with
                                     one or more dots. Defaults to '!misc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant