summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetconfig.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/setconfig.py b/setconfig.py
index 54f166b..60ee9d0 100755
--- a/setconfig.py
+++ b/setconfig.py
@@ -10,7 +10,9 @@ import kconfiglib
def main():
- parser = argparse.ArgumentParser(description="""
+ parser = argparse.ArgumentParser(
+ formatter_class=argparse.RawDescriptionHelpFormatter,
+ description="""
Simple utility for setting configuration values from the command line.
Sample usage:
@@ -49,7 +51,7 @@ can be passed in the KCONFIG_CONFIG environment variable.
"assignments",
metavar="ASSIGNMENT",
nargs="*",
- help="A 'NAME=value' assignments")
+ help="A 'NAME=value' assignment")
args = parser.parse_args()