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

Update User Guide for deleteloan command #114

Merged
merged 1 commit into from
Apr 4, 2024
Merged
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
14 changes: 13 additions & 1 deletion docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,19 @@ Examples: `editloan 1 v/600.00 s/2024-02-15 r/2025-02-15`

### Deleting a loan: `deleteloan`

<!-- TODO: JunWei -->
Deletes a loan permanently from the address book.

Format: `deleteloan INDEX`

Parameters Restrictions:
* The index refers to the index number shown in the displayed loan list. The index **must be a positive integer** 1, 2, 3, …​

Expected Behaviour:
* A success message in the form of "Loan deleted: [loan details]" will be shown.
* The loan will be removed from the loan list.

Example: `deleteloan 1`
* Deletes the loan at the 1st position in the loan list.

<div style="text-align: right"><a href="#table-of-contents">Back to top</a></div>

Expand Down
Loading