mirror of
https://github.com/1j01/textual-paint.git
synced 2024-08-17 03:40:26 +03:00
Clarify filename argument
This commit is contained in:
parent
2af9f4fd53
commit
40496c312f
@ -79,7 +79,8 @@ usage: paint.py [options] [filename]
|
||||
Paint in the terminal.
|
||||
|
||||
positional arguments:
|
||||
filename File to open
|
||||
filename Path to a file to open. File will be created if it
|
||||
doesn't exist.
|
||||
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
|
@ -150,7 +150,7 @@ parser.add_argument('--clear-screen', action='store_true', help='Clear the scree
|
||||
parser.add_argument('--restart-on-changes', action='store_true', help='Restart the app when the source code is changed, for development')
|
||||
parser.add_argument('--recode-samples', action='store_true', help='Open and save each file in samples/, for testing')
|
||||
|
||||
parser.add_argument('filename', nargs='?', default=None, help='File to open')
|
||||
parser.add_argument('filename', nargs='?', default=None, help='Path to a file to open. File will be created if it doesn\'t exist.')
|
||||
|
||||
# Automatically update the readme with the current arguments.
|
||||
# TODO: disable for release builds (or I could make this another dev flag, but I like the idea of it being automatic)
|
||||
|
Loading…
Reference in New Issue
Block a user