[jhbuild] Default to 'help' when no command is given instead of 'build'



commit c45aaced0995dc2e5689a0085d17ce9096b8c167
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sun Dec 1 17:52:25 2019 +0100

    Default to 'help' when no command is given instead of 'build'
    
    A new user running jhbuild for the first time probably doesn't want it to build everything
    or complain about missing sysdeps when running "jhbuild" alone.
    
    Instead show the help output with the list of possible sub-commands.

 jhbuild/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/jhbuild/main.py b/jhbuild/main.py
index 564402b1..7e6b306c 100644
--- a/jhbuild/main.py
+++ b/jhbuild/main.py
@@ -109,7 +109,7 @@ def main(args):
         config.exit_on_error = True
 
     if not args or args[0][0] == '-':
-        command = 'build' # default to cvs update + compile
+        command = 'help'
     else:
         command = args[0]
         args = args[1:]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]