]> gitweb.fluxo.info Git - bootless.git/commitdiff
Make 'write' action an alias to 'image'
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 12 Jul 2016 02:04:14 +0000 (23:04 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 12 Jul 2016 02:04:14 +0000 (23:04 -0300)
files/bootless
index.mdwn

index be8fa2e9c9e44d761a3351f196b4fd970514fd53..320b2f7b5367c04319626a9e6bba6f8349433f13 100755 (executable)
@@ -220,7 +220,7 @@ if [ -z "$BOOTLESS_DIR" ]; then
 elif [ "$BOOTLESS_ACTION" == "init" ]; then
   shift 2
   bootless_init $*
-elif [ "$BOOTLESS_ACTION" == "image" ]; then
+elif [ "$BOOTLESS_ACTION" == "image" ] || [ "$BOOTLESS_ACTION" == "write" ]; then
   shift 2
   bootless_image $*
 elif [ "$BOOTLESS_ACTION" == "check" ]; then
index c4d7e0b8ba4993adf4bbbdde29b7f29f341d8d71..43e524a0add9a2bf8d52f934083b5e594f657a09 100644 (file)
@@ -57,7 +57,7 @@ Create an image:
 
 Write image to thumb drive:
 
-    boootless image <folder> <device>
+    boootless write <folder> <device>
 
 Check device/image signatures: