mirror of
https://github.com/1j01/textual-paint.git
synced 2024-11-28 10:03:29 +03:00
Fix name of program in help text
Originally it was `paint.py`, but after switching to running as a module (needed to use Python's relative imports for some reason) it became "-c" when running with the `textual` CLI.
This commit is contained in:
parent
c15e8ce427
commit
178e4c0689
@ -86,7 +86,7 @@ textual-paint
|
||||
|
||||
```
|
||||
$ python3 paint.py --help
|
||||
usage: paint.py [options] [filename]
|
||||
usage: textual-paint [options] [filename]
|
||||
|
||||
Paint in the terminal.
|
||||
|
||||
|
@ -146,7 +146,7 @@ ascii_only_icons = False
|
||||
inspect_layout = False
|
||||
|
||||
# Command line arguments
|
||||
parser = argparse.ArgumentParser(description='Paint in the terminal.', usage='%(prog)s [options] [filename]')
|
||||
parser = argparse.ArgumentParser(description='Paint in the terminal.', usage='%(prog)s [options] [filename]', prog="textual-paint")
|
||||
parser.add_argument('--version', action='version', version=f'%(prog)s {__version__}')
|
||||
parser.add_argument('--theme', default='light', help='Theme to use, either "light" or "dark"', choices=['light', 'dark'])
|
||||
parser.add_argument('--language', default='en', help='Language to use', choices=['ar', 'cs', 'da', 'de', 'el', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt', 'pt-br', 'ru', 'sk', 'sl', 'sv', 'tr', 'zh', 'zh-simplified'])
|
||||
|
Loading…
Reference in New Issue
Block a user