Browse Source

add version option to the option parser

Helmut Pozimski 11 years ago
parent
commit
fbe33682ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stdd

+ 1 - 1
stdd

@@ -28,7 +28,7 @@ parameters, only 3 are currently defined:
 	* --config (path to configuration file)
 
 """
-parser = OptionParser(prog="stdd", add_help_option=True)
+parser = OptionParser(prog="stdd", version="%prog 0.9", add_help_option=True)
 parser.add_option("-d", "--daemon", action="store_true", dest="daemon",
 	help="run stdd as daemon")
 parser.add_option("-u", "--user", dest="user", help="define an unprivileged \