diff --git a/xorriso-dd-target/xorriso-dd-target b/xorriso-dd-target/xorriso-dd-target index a2bdfe5c..5544fa0e 100755 --- a/xorriso-dd-target/xorriso-dd-target +++ b/xorriso-dd-target/xorriso-dd-target @@ -56,7 +56,7 @@ print_usage() { echo "If no device names and no -list_all are given, then a plain list of" echo "advisable device names is printed to stdout. One per line." echo "Device names must not begin by '-' and must be single words. They must" - echo "not contain '/'. E.g. 'sdc' is valid, '/dev/sdc' is not valid." + echo "not begin by '/dev/'. E.g. 'sdc' is valid, '/dev/sdc' is not valid." echo "If device names are given, then they get listed with advice shown." echo "If one of the given device names gets not advised, the exit value is 1." echo @@ -117,7 +117,7 @@ print_usage() { echo "Examples:" echo " $0 -with_sudo -list_all" echo " $0 sdc" - echo " $0 -with_sudo -image_file debian-live-10.0.0-amd64-xfce.iso -DO_WRITE" + echo " $0 -with_sudo -image_file debian-live-10.0.0-amd64-xfce.iso -DO_WRITE -dummy" echo " $0 -with_sudo -image_file debian-live-10.0.0-amd64-xfce.iso -DO_WRITE -plug_test" echo } @@ -753,6 +753,7 @@ then write_image "$image_file" $candidates exit $? else + candidates=$(echo $candidates) if test -n "$dummy_run" then echo "Would simulate writing to /dev/$candidates if an -image_file were given."