Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two names 'addess' and 'getUsageInfoForViewCommand()' #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/seedu/addressbook/AddressBook.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class AddressBook {
/**
* Version info of the program.
*/
private static final String VERSION = "AddessBook Level 1 - Version 1.0";
private static final String VERSION = "AddressBook Level 1 - Version 1.0";

/**
* A decorative prefix added to the beginning of lines printed by AddressBook
Expand Down Expand Up @@ -1084,7 +1084,7 @@ private static boolean isPersonEmailValid(String email) {
private static String getUsageInfoForAllCommands() {
return getUsageInfoForAddCommand() + LS
+ getUsageInfoForFindCommand() + LS
+ getUsageInfoForViewCommand() + LS
+ getUsageInfoForListCommand() + LS
+ getUsageInfoForDeleteCommand() + LS
+ getUsageInfoForClearCommand() + LS
+ getUsageInfoForExitCommand() + LS
Expand Down Expand Up @@ -1118,8 +1118,8 @@ private static String getUsageInfoForClearCommand() {
+ String.format(MESSAGE_COMMAND_HELP_EXAMPLE, COMMAND_CLEAR_EXAMPLE) + LS;
}

/** Returns the string for showing 'view' command usage instruction */
private static String getUsageInfoForViewCommand() {
/** Returns the string for showing 'list' command usage instruction */
private static String getUsageInfoForListCommand() {
return String.format(MESSAGE_COMMAND_HELP, COMMAND_LIST_WORD, COMMAND_LIST_DESC) + LS
+ String.format(MESSAGE_COMMAND_HELP_EXAMPLE, COMMAND_LIST_EXAMPLE) + LS;
}
Expand Down