Correct a typo in the 'show' argument 'index'
This commit is contained in:
parent
d4f4af9398
commit
7fada88362
@ -71,8 +71,8 @@ if __name__ == '__main__':
|
||||
rm_parser.set_defaults(func=rm)
|
||||
|
||||
show_parser = subparsers.add_parser('show')
|
||||
show_parser.add_argument('indx', type=int)
|
||||
show_parser.set_defaults(func=show_by_id)
|
||||
show_parser.add_argument('index', type=int)
|
||||
|
||||
ls_parser = subparsers.add_parser('ls')
|
||||
ls_parser.set_defaults(func=ls)
|
||||
|
Loading…
Reference in New Issue
Block a user