Skip to content

Commit

Permalink
Place Example of error msg on newline
Browse files Browse the repository at this point in the history
  • Loading branch information
rayray39 committed Nov 7, 2024
1 parent 01ba891 commit 4bd1232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class SortCommand extends Command {
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Sorts the presented list "
+ "in descending or ascending order according to "
+ "name or date of last visit.\n"
+ "Parameters: PARAMETER_PREFIX/ORDER "
+ "Parameters: PARAMETER_PREFIX/ORDER\n"
+ "Example: " + COMMAND_WORD + " n/ascending\n"
+ "If order is not specified (ex. n/) ascending order assumed. "
+ "Shortcuts for order (desc, asc) are valid inputs. ex: sort n/desc.";
Expand Down

0 comments on commit 4bd1232

Please sign in to comment.