gentree: add --git-debug as alias to --gitdebug
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Oct 2017 08:44:49 +0000 (10:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Oct 2017 08:44:49 +0000 (10:44 +0200)
I always find myself typing --git-debug, so let's just add that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
gentree.py

index 026afdc2e02d1d871130f6ffb8147b6cd6f006b5..a98aceb260e06a9b44012480e6223e287adb9440 100755 (executable)
@@ -651,7 +651,7 @@ def _main():
                         help='Refresh patches as they are applied, the source dir will be modified!')
     parser.add_argument('--base-name', metavar='<name>', type=str, default='Linux',
                         help='name of base tree, default just "Linux"')
-    parser.add_argument('--gitdebug', const=True, default=False, action="store_const",
+    parser.add_argument('--gitdebug', '--git-debug', const=True, default=False, action="store_const",
                         help='Use git, in the output tree, to debug the various transformation steps ' +
                              'that the tree generation makes (apply patches, ...)')
     parser.add_argument('--verbose', const=True, default=False, action="store_const",