Changeset 297
- Timestamp:
- 12/02/15 11:53:47 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CCCC/trunk/ceda_cc/c4.py
r291 r297 261 261 forceLogOrg = None 262 262 argsIn = args[:] 263 263 264 # Show help if no args or help requested 265 if len(args) == 0 or args[0] in ('-h', '-help', '--help'): 266 print 'Help command not implemented yet' 267 raise SystemExit(0) 264 268 # The --copy-config option must be the first argument if it is present. 265 if args[0] == '--copy-config':269 elif args[0] == '--copy-config': 266 270 if len(args) < 2: 267 271 self.commandHints( argsIn ) … … 271 275 print 'Configuration directory copied to %s. Set CC_CONFIG_DIR to use this configuration.' % dest_dir 272 276 print 273 raise SystemExit(0)274 elif args[0] == '-h':275 print 'Help command not implemented yet'276 277 raise SystemExit(0) 277 278
Note: See TracChangeset
for help on using the changeset viewer.