Author: jow
Date: 2015-05-01 19:23:15 +0200 (Fri, 01 May 2015)
New Revision: 45592

Modified:
   trunk/scripts/env
Log:
env: allow passing a commit message on save

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/scripts/env
===================================================================
--- trunk/scripts/env   2015-05-01 16:18:25 UTC (rev 45591)
+++ trunk/scripts/env   2015-05-01 17:23:15 UTC (rev 45592)
@@ -15,7 +15,8 @@
        delete <name>     Delete an environment
        rename <newname>  Rename the current environment
        diff              Show differences between current state and environment
-       save              Save your changes to the environment
+       save [message]    Save your changes to the environment, optionally using
+                         the given commit message
        revert            Revert your changes since last save
 
 Options:
@@ -109,7 +110,7 @@
 
 env_save() {
        env_init
-       env_sync
+       env_sync "$@"
        env_link_config
 }
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to