#257 Fix traceback when executing 'odcs' client without any argument. Show help instead.
Merged 5 months ago by jkaluza. Opened 5 months ago by jkaluza.
jkaluza/odcs devel-modules-resolve  into  master

file modified
+4

@@ -150,6 +150,10 @@ 

  

  args = parser.parse_args()

  

+ if not hasattr(args, "command"):

+     parser.print_help()

+     sys.exit(0)

+ 

  if args.server is None:

      odcs_url = env_config[args.infra][args.env]['server_url']

  else:

no initial comment

pretty please pagure-ci rebuild

5 months ago

Pull-Request has been merged by jkaluza

5 months ago