Alias -e pour --edit

This commit is contained in:
Vincent Le Gallic 2013-04-08 21:10:11 +02:00
parent 5a7579945e
commit ef00e4ca6b

View file

@ -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',