Correct a typo in the 'show' argument 'index'

This commit is contained in:
Danny Robson 2020-05-21 10:34:10 +10:00
parent d4f4af9398
commit 7fada88362

View File

@ -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)