Add -n option to usage
authorJeremy Kerr <jk@ozlabs.org>
Sun, 19 Nov 2006 12:01:09 +0000 (23:01 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 12 Nov 2009 23:58:40 +0000 (10:58 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
bitfield

index 73f41ff7b5cb2e2d56afaae87961863228f7b3e7..ae9ab29eed906e4f7015bdd396e14b963aad4cc8 100644 (file)
--- a/bitfield
+++ b/bitfield
@@ -208,7 +208,7 @@ def parse_all_configs(configs):
        return regs
 
 def usage(prog):
        return regs
 
 def usage(prog):
-       print "Usage: %s <-l> | <-s pattern> | register [value...]" % prog
+       print "Usage: %s <-l> | <-s pattern> | [-n] register [value...]" % prog
 
 def main():
        try:
 
 def main():
        try: