File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2626# in $@.
2727# NOTE: See sync-loop.sh for an example.
2828#
29- if [[ " $1 " == " " ]]; then
29+ if [[ ( " $1 " == " " ) || ( " $1 " == " --help " ) ]]; then
3030 script=$( basename " $0 " )
3131 # # TODO: remove following which is only meant for when ./template.bash run
3232 if [[ " $script " == " template.bash" ]]; then echo " Warning: not intended for standalone usage" ; fi ;
@@ -38,11 +38,10 @@ if [[ "$1" == "" ]]; then
3838 echo " "
3939 echo " Examples:"
4040 echo " "
41- # # TODO: example 1
42- echo " $0 example 1"
41+ echo " $0 -"
4342 echo " "
44- # # TODO: example 2
45- echo " $script example 2 "
43+ echo ' ddmmmyy=$(date ' +%d%b%y ' ) '
44+ echo " $script - > ~/config/show-KDE-settings. \$ ddmmmyy.log 2>&1 "
4645 echo " "
4746 echo " Notes:"
4847 echo " - The -- option is to use default options and to avoid usage statement."
You can’t perform that action at this time.
0 commit comments