Selaa lähdekoodia

Spiffy up the help text

Benjamin Sago 8 vuotta sitten
vanhempi
sitoutus
431998d0f6
2 muutettua tiedostoa jossa 8 lisäystä ja 5 poistoa
  1. 2 1
      Vagrantfile
  2. 6 4
      devtools/dev-help.sh

+ 2 - 1
Vagrantfile

@@ -79,8 +79,9 @@ Vagrant.configure(2) do |config|
       ln -sf /usr/bin/compile-exa /usr/bin/c
 
       echo -e "#!/bin/sh\nbash /vagrant/devtools/dev-package-for-linux.sh"   > /usr/bin/package-exa
+      echo -e "#!/bin/sh\ncat /etc/motd"   > /usr/bin/halp
 
-      chmod +x /usr/bin/{exa,rexa,b,t,x,c,build-exa,test-exa,run-xtests,compile-exa,package-exa}
+      chmod +x /usr/bin/{exa,rexa,b,t,x,c,build-exa,test-exa,run-xtests,compile-exa,package-exa,halp}
     EOF
 
 

+ 6 - 4
devtools/dev-help.sh

@@ -9,11 +9,13 @@ exa's source is available at \033[33m/vagrant\033[0m.
 Binaries get built into \033[33m/home/ubuntu/target\033[0m.
 
 \033[4mCommands\033[0m
-\033[32;1mb\033[0m or \033[32;1mbuild-exa\033[0m to run \033[1mcargo build\033[0m
-\033[32;1mt\033[0m or \033[32;1mtest-exa\033[0m to run \033[1mcargo test\033[0m
-\033[32;1mx\033[0m or \033[32;1mrun-xtests\033[0m to run \033[1m/vagrant/xtests/run.sh\033[0m
-\033[32;1mc\033[0m or \033[32;1mcompile-exa\033[0m to run all three
+\033[32;1mexa\033[0m to run the built version of exa
+\033[32;1mbuild-exa\033[0m (or \033[32;1mb\033[0m) to run \033[1mcargo build\033[0m
+\033[32;1mtest-exa\033[0m (or \033[32;1mt\033[0m) to run \033[1mcargo test\033[0m
+\033[32;1mrun-xtests\033[0m (or \033[32;1mx\033[0m) to run the extended tests
+\033[32;1mcompile-exa\033[0m (or \033[32;1mc\033[0m) to run the above three
 \033[32;1mdebug\033[0m to toggle printing logs
 \033[32;1mstrict\033[0m to toggle strict mode
 \033[32;1mcolors\033[0m to toggle custom colours
+\033[32;1mhalp\033[0m to show all this again
 "