"Directory" is more straight forward than "root_path".
This commit is contained in:
parent
aea15f18ef
commit
61e2acae60
2 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@
|
|||
│ │
|
||||
│ │
|
||||
│Usage: │
|
||||
│ vigil [options] <root_path> │
|
||||
│ vigil [options] <directory> │
|
||||
│ vigil -h | --help │
|
||||
│ │
|
||||
│Example: │
|
||||
|
|
|
|||
4
vigil
4
vigil
|
|
@ -19,7 +19,7 @@ The reports are cached in a directory ".vigil" under the target directory.
|
|||
|
||||
|
||||
Usage:
|
||||
vigil [options] <root_path>
|
||||
vigil [options] <directory>
|
||||
vigil -h | --help
|
||||
|
||||
Example:
|
||||
|
|
@ -1088,7 +1088,7 @@ if __name__ == "__main__":
|
|||
if show_help:
|
||||
print(_get_help_text())
|
||||
sys.exit(0)
|
||||
root_path = os.path.abspath(arguments["<root_path>"])
|
||||
root_path = os.path.abspath(arguments["<directory>"])
|
||||
if not os.path.exists(root_path):
|
||||
print("File does not exist:", root_path)
|
||||
sys.exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue