summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2010-01-08 02:10:39 +0100
committerBenjamin Drung <bdrung@ubuntu.com>2010-01-08 02:10:39 +0100
commit4659a9734b357d1918bdd831a3974cbb041cd7a3 (patch)
tree6f123a25a06f13795441f07bcb0020d259503886 /src
parent5134d926e00020ae4d654bd70c6868011b7c43b8 (diff)
Use basename of the script for help message
- update src/dh_xul-ext - update src/install-xpi
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dh_xul-ext2
-rwxr-xr-xsrc/install-xpi2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dh_xul-ext b/src/dh_xul-ext
index 725d0b5..27ec7b3 100755
--- a/src/dh_xul-ext
+++ b/src/dh_xul-ext
@@ -194,7 +194,7 @@ General options:
-h, --help display this help and exit
-v, --verbose print more information
-See %s(1) for more info.""" % (sys.argv[0], os.path.basename(sys.argv[0]))
+See %s(1) for more info.""" % (os.path.basename(sys.argv[0]), os.path.basename(sys.argv[0]))
if __name__ == "__main__":
try:
diff --git a/src/install-xpi b/src/install-xpi
index cfde2f5..7396a9d 100755
--- a/src/install-xpi
+++ b/src/install-xpi
@@ -160,7 +160,7 @@ General options:
-h, --help display this help and exit
-v, --verbose print more information
-See %s(1) for more info.""" % (sys.argv[0], os.path.basename(sys.argv[0]))
+See %s(1) for more info.""" % (os.path.basename(sys.argv[0]), os.path.basename(sys.argv[0]))
if __name__ == "__main__":
try: