manual: fix command line word order for wget downloads
authorGerhard Sittig <gerhard.sittig@gmx.net>
Mon, 6 Jan 2020 19:09:37 +0000 (20:09 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 6 Jan 2020 19:40:54 +0000 (20:40 +0100)
It's good tradition to put options right after the command name, and
list positional arguments after the list of options. Putting options
late only works by coincidence and trains bad habits. Adjust the wget
command lines accordingly.

Reported-By: Peter Mortensen via IRC
manual/installation.txt

index 047333ed13b8aba18b306505d66e97ee6c275b91..5d9402552a562f8915b100095b0880b093f95b80 100644 (file)
@@ -36,7 +36,7 @@ delete the AppImage. If you also want the stored settings gone, delete ~/.config
 _[install dependencies https://sigrok.org/wiki/Linux#Building[as listed on the wiki]]_
 mkdir ~/sr
 cd ~/sr
-wget 'https://sigrok.org/gitweb/?p=sigrok-util.git;a=blob_plain;f=cross-compile/linux/sigrok-cross-linux' -O sigrok-cross-linux
+wget -O sigrok-cross-linux 'https://sigrok.org/gitweb/?p=sigrok-util.git;a=blob_plain;f=cross-compile/linux/sigrok-cross-linux'
 chmod u+x sigrok-cross-linux
 ./sigrok-cross-linux
 export LD_LIBRARY_PATH=~/sr/lib
@@ -58,9 +58,9 @@ Here's how you install them:
 [listing, subs="normal"]
 sudo bash
 cd /etc/udev/rules.d/
-wget 'https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/60-libsigrok.rules' -O 60-libsigrok.rules
-wget 'https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/61-libsigrok-plugdev.rules' -O 61-libsigrok-plugdev.rules
-wget 'https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/61-libsigrok-uaccess.rules' -O 61-libsigrok-uaccess.rules
+wget -O 60-libsigrok.rules 'https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/60-libsigrok.rules'
+wget -O 61-libsigrok-plugdev.rules 'https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/61-libsigrok-plugdev.rules'
+wget -O 61-libsigrok-uaccess.rules 'https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/61-libsigrok-uaccess.rules'
 sudo udevadm control --reload-rules
 --