Skip to content

Commit

Permalink
Merge pull request #217 from rayray39/branch-UpdateSortErrorMsg
Browse files Browse the repository at this point in the history
Example for sort error message not on new line
  • Loading branch information
AbdulrahmanAlRammah authored Nov 7, 2024
2 parents 01ba891 + 4bd1232 commit 7be2f77
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 7be2f77

Please sign in to comment.