diff --git a/bin/pungi b/bin/pungi index 4fccad80..255c63d1 100755 --- a/bin/pungi +++ b/bin/pungi @@ -12,6 +12,7 @@ # along with this program; if not, see . import os +from pungi import get_full_version import pungi.gather import pungi.config import pungi.ks @@ -203,7 +204,7 @@ if __name__ == '__main__': today = time.strftime('%Y%m%d', time.localtime()) def get_arguments(config): - parser = OptionParser("%prog [--help] [options]", version="%prog 4.1.9") + parser = OptionParser("%prog [--help] [options]", version="%%prog %s" % get_full_version()) def set_config(option, opt_str, value, parser, config): config.set('pungi', option.dest, value)