X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bin%2Fcheck-hrns.py;h=777d2587f01dacbb2aaefce5256076a412b06517;hb=02d3482536dbd282f3eb7acc6920c8f320c63859;hp=f92d41277f5b96709a6ba473e0a27e454b2d994a;hpb=7e2ad8541774b6c74430d465a143fd1e960d0698;p=myplc.git diff --git a/bin/check-hrns.py b/bin/check-hrns.py index f92d412..777d258 100755 --- a/bin/check-hrns.py +++ b/bin/check-hrns.py @@ -42,7 +42,12 @@ def handle_persons (sites,sites_by_id, dry_run,verbose): def main(): - parser = OptionParser() + usage="""Usage: %prog + Checks that the hrn tags are correctly set +Example: + %prog -- -p -nv +""" + parser = OptionParser(usage=usage) parser.add_option("-p", "--person", action = "store_true", default = False, dest='persons',help="run on persons") parser.add_option("-n", "--node", action = "store_true", default = False,