Skip to content
Snippets Groups Projects
Commit ef00e4ca authored by Vincent Le gallic's avatar Vincent Le gallic
Browse files

Alias -e pour --edit

parent 5a757994
No related branches found
No related tags found
No related merge requests found
...@@ -470,7 +470,7 @@ if __name__ == "__main__": ...@@ -470,7 +470,7 @@ if __name__ == "__main__":
# Actions possibles # Actions possibles
action_grp = parser.add_mutually_exclusive_group(required=False) 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, default=show_file,const=edit_file,
help="Editer (ou créer)") help="Editer (ou créer)")
action_grp.add_argument('--view',action='store_const',dest='action', action_grp.add_argument('--view',action='store_const',dest='action',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment