Added the documentation that "untitled 1" works, too.

This commit is contained in:
依瑪貓 2017-04-28 22:01:18 +08:00
parent eea4cce149
commit d706a15b28
2 changed files with 9 additions and 3 deletions

View File

@ -261,7 +261,9 @@ LIBRARY The name of the Basic library. Default to the same
--doc Store the macros in the document macro storage. --doc Store the macros in the document macro storage.
--target TARGET The target storage document if there are more than one --target TARGET The target storage document if there are more than one
opened documents. A partial path is OK. opened documents. You may specify a partial path, or
as "Untitied 1" (in your language) if it is a new
file.
-h, --help Show the help message and exit -h, --help Show the help message and exit

View File

@ -91,7 +91,9 @@ LIBRARY The name of the Basic library. Default to the same
--doc Store the macros in the document macro storage. --doc Store the macros in the document macro storage.
--target TARGET The target storage document if there are more than one --target TARGET The target storage document if there are more than one
opened documents. A partial path is OK. opened documents. You may specify a partial path, or
as "Untitied 1" (in your language) if it is a new
file.
-h, --help Show the help message and exit -h, --help Show the help message and exit
@ -214,7 +216,9 @@ def parse_args():
parser.add_argument( parser.add_argument(
"--target", metavar="TARGET", "--target", metavar="TARGET",
help=("The target storage document if there are more than one" help=("The target storage document if there are more than one"
" opened documents. A partial path is OK.")) " opened documents. You may specify a partial path, or"
" an \"Untitied 1\" (in your language) if it is a new"
" file."))
parser.add_argument( parser.add_argument(
"-v", "--version", action="version", version="%(prog)s 0.5") "-v", "--version", action="version", version="%(prog)s 0.5")
args = parser.parse_args() args = parser.parse_args()