Alias -e pour --edit
This commit is contained in:
parent
5a7579945e
commit
ef00e4ca6b
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ if __name__ == "__main__":
|
|||
|
||||
# Actions possibles
|
||||
action_grp = parser.add_mutually_exclusive_group(required=False)
|
||||
action_grp.add_argument('--edit',action='store_const',dest='action',
|
||||
action_grp.add_argument('-e', '--edit',action='store_const',dest='action',
|
||||
default=show_file,const=edit_file,
|
||||
help="Editer (ou créer)")
|
||||
action_grp.add_argument('--view',action='store_const',dest='action',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue