aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-05-08 22:51:16 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-05-08 22:51:16 +0200
commitaddae4804e5cfd517264d0588c1e728155ed4ef7 (patch)
tree6c15c976005e4353fb52e2c9f75226e8db353ddc
parentremove obsolete URLs (diff)
downloadjava-config-addae4804e5cfd517264d0588c1e728155ed4ef7.tar.gz
java-config-addae4804e5cfd517264d0588c1e728155ed4ef7.tar.bz2
java-config-addae4804e5cfd517264d0588c1e728155ed4ef7.zip
this how string formatting is to be done in Python
-rwxr-xr-xsrc/java-config-210
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java-config-2 b/src/java-config-2
index 43b888d..93dc7b3 100755
--- a/src/java-config-2
+++ b/src/java-config-2
@@ -236,11 +236,11 @@ if __name__ == '__main__':
printer = OutputFormatter(True, True)
manager = EnvironmentManager(os.getenv('ROOT', ''), os.getenv('EPREFIX', '@GENTOO_PORTAGE_EPREFIX@'))
- usage = "java-config [options]\n\n"
- usage += "Java Configuration Utility Version @PACKAGE_VERSION@\n"
- usage += "Copyright 2004-2013 Gentoo Foundation\n"
- usage += "Distributed under the terms of the GNU General Public License v2\n"
- usage += "Please contact the Gentoo Java Herd <java@gentoo.org> with problems."
+ usage = """java-config [options]
+Java Configuration Utility Version @PACKAGE_VERSION@
+Copyright 2004-2013 Gentoo Foundation
+Distributed under the terms of the GNU General Public License v2
+Please contact the Gentoo Java Herd <java@gentoo.org> with problems."""
parser = OptionParser(usage)
parser.add_option("-V", "--version",