File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -126,19 +126,19 @@ Read the help and version messages from standard input::
126
126
Parse the help and version messages from script comments and pass them as
127
127
command line arguments::
128
128
129
- ## rock 0.1.0
130
- ## Copyright (C) 200X Thomas Light
131
- ## License RIT (Robot Institute of Technology)
132
- ## This is free software: you are free to change and redistribute it.
133
- ## There is NO WARRANTY, to the extent permitted by law.
129
+ #? rock 0.1.0
130
+ #? Copyright (C) 200X Thomas Light
131
+ #? License RIT (Robot Institute of Technology)
132
+ #? This is free software: you are free to change and redistribute it.
133
+ #? There is NO WARRANTY, to the extent permitted by law.
134
134
135
- ### Usage: rock [options] <argv>...
136
- ###
137
- ### --help Show help options.
138
- ### --version Print program version.
135
+ ##? Usage: rock [options] <argv>...
136
+ ##?
137
+ ##? --help Show help options.
138
+ ##? --version Print program version.
139
139
140
- help=$(grep "^### " "$0" | cut -c 5-)
141
- version=$(grep "^## " "$0" | cut -c 4-)
140
+ help=$(grep "^##? " "$0" | cut -c 5-)
141
+ version=$(grep "^#? " "$0" | cut -c 4-)
142
142
eval "$(docopts -h "$help" -V "$version" : "$@")"
143
143
144
144
for arg in "${argv[@]}"; do
You can’t perform that action at this time.
0 commit comments