Changeset 1275 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Nov 7, 2016, 8:07:18 PM (8 years ago)
Author:
lfita
Message:

Fixing error message when no help is required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var.py

    r1271 r1275  
    239239    print '  File ' + opts.ncfile + ' does not exist !!'
    240240    quit(-1)
    241 elif opts.ncfile is None and not gen.searchInlist(NotCheckingFile,oper):
     241elif opts.ncfile is None and not gen.searchInlist(NotCheckingFile,oper) and          \
     242  opts.values != 'h':
    242243    print errormsg
    243244    print '  No file provided !!'
Note: See TracChangeset for help on using the changeset viewer.