Changeset - fef26609c4ee
[Not reviewed]
default
0 1 0
Laman - 6 years ago 2019-05-29 12:25:01

fix: a meaningful message when running without a command
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/morevna.py
Show inline comments
 
@@ -124,4 +124,6 @@ pServe.add_argument("datafile")
 
pServe.set_defaults(func=serve)
 

	
 
args=parser.parse_args()
 
args.func(args)
 
try: args.func(args)
 
except AttributeError:
 
	parser.print_help()
0 comments (0 inline, 0 general)