@@ -372,13 +372,10 @@ def do_sleep(self, args) :
372372 pargs = self .__arg_parse__ (args )
373373
374374 parser = argparse .ArgumentParser (prog = 'sleep' )
375- parser .add_argument ('-q' , '--quiet' , help = 'suppress printing the result' , action = 'store_true' )
376375 parser .add_argument ('-t' , '--time' , help = 'time to sleep' , type = int , required = True )
377376
378377 options = parser .parse_args (pargs )
379378
380- if not options .quiet :
381- print ("Sleeping for {} seconds" .format (options .time ))
382379 time .sleep (options .time )
383380
384381 except SystemExit as se :
@@ -398,7 +395,6 @@ def do_parse(self, args) :
398395 pargs = self .__arg_parse__ (args )
399396
400397 parser = argparse .ArgumentParser (prog = 'parse' )
401- parser .add_argument ('-q' , '--quiet' , help = 'suppress printing the result' , action = 'store_true' )
402398 parser .add_argument ('-e' , '--expression' , help = 'json expression to parse' , type = str , required = True )
403399 parser .add_argument ('-p' , '--path' , help = 'path to retrieve within the expression' , type = str , required = True )
404400 parser .add_argument ('-s' , '--symbol' , help = 'symbol in which to store the result' , required = True )
@@ -418,8 +414,6 @@ def do_parse(self, args) :
418414 value = json .dumps (python_value )
419415
420416 self .bindings .bind (options .symbol ,value )
421- if not options .quiet :
422- print ("${} = {}" .format (options .symbol , value ))
423417
424418 except SystemExit as se :
425419 return self .__arg_error__ ('parse' , args , se .code )
@@ -438,7 +432,6 @@ def do_set(self, args) :
438432 pargs = self .__arg_parse__ (args )
439433
440434 parser = argparse .ArgumentParser (prog = 'set' )
441- parser .add_argument ('-q' , '--quiet' , help = 'suppress printing the result' , action = 'store_true' )
442435 parser .add_argument ('-s' , '--symbol' , help = 'symbol in which to store the identifier' , required = True )
443436 parser .add_argument ('-c' , '--conditional' , help = 'set the value only if it is undefined' , action = 'store_true' )
444437
@@ -473,8 +466,6 @@ def do_set(self, args) :
473466 value = self .state .get (options .state )
474467
475468 self .bindings .bind (options .symbol ,value )
476- if not options .quiet :
477- print ("${} = {}" .format (options .symbol , value ))
478469
479470 except SystemExit as se :
480471 return self .__arg_error__ ('set' , args , se .code )
0 commit comments