fixed a little bug

fixed help message
main
Jesse Laprade 1 year ago committed by Jesse Laprade
parent e58a97724e
commit 6e53658c73
  1. 12
      README.md
  2. 9
      src/rodo.rkt

@ -64,7 +64,7 @@ Backup anything you don't want deleted.
* **Warning**: Warnings signify that damage, such as data loss, may occur
* **Example**: Examples provide a reference of how a procedure would be performed in the real world
* `Inline code`: Inline code signifies package names, filenames, or commands
* ```Code block```: Code blocks signify file contents
* `Code block`: Code blocks signify file contents
## Platforms
@ -79,7 +79,7 @@ Below is a list of platforms that rodo can run on:
The following items must be downloaded and installed before you can use rodo:
* Racket: [https://racket-lang.org/](https://racket-lang.org/)
* rodo's source code: [https://git.m455.casa/m455/rodo](https://git.m455.casa/m455/rodo)
* rodo's source code: [https://git.m455.casa/rodo](https://git.m455.casa/rodo)
## Quick start
@ -87,7 +87,7 @@ This section is for users who are familiar with git, a Unix-like command line en
scripting.
1. Make sure [Racket](https://racket-lang.org/) is installed
2. `git clone https://git.m455.casa/m455/rodo.git`
2. `git clone git://git.m455.casa/rodo`
3. `cd rodo`
4. `sudo make install-global`
5. `rodo`
@ -114,7 +114,7 @@ will need the source code to install rodo.
#### To download rodo using git
1. Run `git clone https://git.m455.casa/m455/rodo.git`
1. Run `git clone git://git.m455.casa/rodo`
**Note**: This will create a `rodo` directory in your current directory.
@ -253,7 +253,7 @@ your list.
1. Run `rodo rm 1`
**Note 2**: You may need to run `rodo ls` first to see which numbers correspond
**Note**: You may need to run `rodo ls` first to see which numbers correspond
with which item in your list.
### Changing the text of an item in your list
@ -265,7 +265,7 @@ item when [Displaying your list](#displaying-your-list).
1. Run `rodo update 2 "This is new text"`
**Note 2**: You may need to run `rodo ls` first to see which numbers correspond
**Note**: You may need to run `rodo ls` first to see which numbers correspond
with which item in your list.
## List of commands

@ -78,6 +78,9 @@
'empty-list
"There is nothing in your list."
'updated-item
"Updated item number ~a."
'added
"Added '~a' to your list."
@ -142,7 +145,7 @@
(if (null? listof-items)
(displayln-messages-ref 'empty-list)
(ls/display-list listof-items)))
(displayln-messages-ref 'couldnt-file-file)))
(displayln-messages-ref 'error-couldnt-find-file)))
;; ------------------------------------------------
;; rm
@ -217,7 +220,7 @@
program-path) newline
(format " ~a - Adds an item to your list." command-add) newline
(format " ~a - Prints a numbered list of the items you've added." command-ls) newline
(format " ~a - Removes an item from your list." command-rm)
(format " ~a - Removes an item from your list." command-rm) newline
(format " ~a - Replaces the contents of an item with new text." command-update)
double-newline
@ -226,7 +229,7 @@
(format " ~a ~a" program-name command-init) newline
(format " ~a ~a \"You are wonderful\"" program-name command-add) newline
(format " ~a ~a" program-name command-ls) newline
(format " ~a ~a 2" program-name command-rm)
(format " ~a ~a 2" program-name command-rm) newline
(format " ~a ~a 2 \"This is new text!\"" program-name command-update))))
(define (process-args vectorof-args)

Loading…
Cancel
Save