Skip to content

Commit

Permalink
Merge pull request #166 from zekone/fix-integer-overflow
Browse files Browse the repository at this point in the history
Fix integer overflow error message
  • Loading branch information
josepholim authored Nov 10, 2023
2 parents 0813bd5 + 559f284 commit 6b0600a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ If you can type fast, KeepInTouch can get your contact management tasks done fas

* `CONTACT_ID` is the number that is on the left of the contact's name in each contact card.

* `CONTACT_ID` should be a positive integer less than 2,147,483,648.

* `NAME` should be alphanumeric, spaces are allowed.

* `PHONE_NUMBER` should be numbers at least 3 digits long.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class DeletePersonCommand extends DeleteCommand {
public static final String MESSAGE_USAGE = COMMAND_WORD + " "
+ SECONDARY_COMMAND_WORD
+ ": Deletes a contact by its index number used in the displayed contact list.\n"
+ "Parameters: INDEX (must be a positive integer)\n"
+ "Usage: " + COMMAND_WORD + " " + SECONDARY_COMMAND_WORD + " CONTACT_ID\n"
+ "Example: " + COMMAND_WORD + " " + SECONDARY_COMMAND_WORD + " 1";

public static final String MESSAGE_DELETE_PERSON_SUCCESS = "Deleted Contact: %1$s";
Expand Down

0 comments on commit 6b0600a

Please sign in to comment.