File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -199,13 +199,13 @@ end
199199def main
200200 if ARGV . empty? || %w{ --help -h } . include? ( ARGV . first )
201201 puts <<~HELP
202- Usage: #{ $PROGRAM_NAME} [subcommand] [ options]
202+ Usage: #{ $PROGRAM_NAME} [options]
203203
204- Subcommands :
205- add-promise Add a new promise
206- resolve-promise Resolve a pending promise
207- abandon-promise Mark a promise as abandoned
208- edit-promise Edit an existing promise
204+ Modes :
205+ add Add a new promise
206+ resolve Resolve a pending promise
207+ abandon Mark a promise as abandoned
208+ edit Edit an existing promise
209209 status Show unresolved promises
210210
211211 Options:
@@ -214,9 +214,10 @@ def main
214214 --reference="text" Optional reference
215215 --db-file=FILE SQLite3 DB file
216216 --include-abandoned Show abandoned in status
217+ --mode=MODE Mode to operate in
217218
218219 Example:
219- #{ $PROGRAM_NAME} add-promise --promise="Call mom" --date=2025-05-08
220+ #{ $PROGRAM_NAME} -m add-promise --promise="Call mom" --date=2025-05-08
220221 HELP
221222 exit
222223 end
You can’t perform that action at this time.
0 commit comments