From 7fada88362f17d8c0ecb08533699c21ac61e5ab4 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 21 May 2020 10:34:10 +1000 Subject: [PATCH] Correct a typo in the 'show' argument 'index' --- src/pyelephant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyelephant.py b/src/pyelephant.py index 4369b81..ab275d2 100755 --- a/src/pyelephant.py +++ b/src/pyelephant.py @@ -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)