Update #4455, Regenerate all commands' docs (#4557)

This commit is contained in:
Justin Ma
2022-02-20 09:13:33 +08:00
committed by GitHub
parent aea4355d04
commit 2ecae0ef43
48 changed files with 481 additions and 52 deletions

View File

@ -19,3 +19,25 @@ Remove file(s).
- `--force`: suppress error when no file
- `--quiet`: supress output showing files deleted
## Examples
Delete or move a file to the system trash (depending on 'rm_always_trash' config option)
```shell
> rm file.txt
```
Move a file to the system trash
```shell
> rm --trash file.txt
```
Delete a file permanently
```shell
> rm --permanent file.txt
```
Delete a file, and suppress errors if no file is found
```shell
> rm --force file.txt
```