aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-11 23:04:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-11 23:04:14 -0300
commit9e70a94c9b11ec159b50cfb4df4905a4312ae3c1 (patch)
tree87d091297bfc6d4374a175cd71c356293a45d042
parent6397002d40b58b8635b8f84054ad0bc9f54ebd63 (diff)
downloadbootless-9e70a94c9b11ec159b50cfb4df4905a4312ae3c1.tar.gz
bootless-9e70a94c9b11ec159b50cfb4df4905a4312ae3c1.tar.bz2
Make 'write' action an alias to 'image'
-rwxr-xr-xfiles/bootless2
-rw-r--r--index.mdwn2
2 files changed, 2 insertions, 2 deletions
diff --git a/files/bootless b/files/bootless
index be8fa2e..320b2f7 100755
--- a/files/bootless
+++ b/files/bootless
@@ -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
diff --git a/index.mdwn b/index.mdwn
index c4d7e0b..43e524a 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -57,7 +57,7 @@ Create an image:
Write image to thumb drive:
- boootless image <folder> <device>
+ boootless write <folder> <device>
Check device/image signatures: