[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-34-g40de43b
Ritesh Raj Sarraf
rrs at researchut.com
Mon Mar 15 12:04:01 UTC 2010
The following commit has been merged in the master branch:
commit 5fdd3ef2ef4321a61c2992d4eb03284ed6690104
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date: Thu Mar 11 23:27:41 2010 +0530
display version in app_name during --help
diff --git a/apt_offline_core/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py
index 9493345..2ec6b39 100644
--- a/apt_offline_core/AptOfflineCoreLib.py
+++ b/apt_offline_core/AptOfflineCoreLib.py
@@ -1633,7 +1633,7 @@ def main():
global_options.add_argument("--simulate", dest="simulate", help="Just simulate. Very helpful when debugging",
action="store_true" )
- parser = argparse.ArgumentParser( prog=app_name, description="Offline APT Package Manager",
+ parser = argparse.ArgumentParser( prog=app_name, description="Offline APT Package Manager" + ' - ' + version,
epilog=copyright + " - " + terminal_license, parents=[global_options])
parser.add_argument("-v", "--version", action='version', version=version)
--
Offline APT Package Manager
More information about the Apt-offline-devel
mailing list