update readme to remove 'upd' command
This commit is contained in:
parent
235e30aeb7
commit
76cc1eec53
11
README.md
11
README.md
|
@ -39,11 +39,6 @@ ins <packages>
|
|||
```
|
||||
Install the listed packages. If more than one, use spaces to separate package names.
|
||||
|
||||
```
|
||||
upd
|
||||
```
|
||||
Update/upgrade your system.
|
||||
|
||||
```
|
||||
del <packages>
|
||||
```
|
||||
|
@ -98,12 +93,12 @@ Execute the \<script\> file.
|
|||
|
||||
### II. Path Expressions
|
||||
|
||||
The syntax is pretty fast-forward, it uses 3 levels to find your configuration line : `[location]@[field.path]`.
|
||||
The syntax is pretty fast-forward, it uses 2 levels (file, fields) to find your configuration line : `location/path@field.path`.
|
||||
|
||||
| Field | Description | Example |
|
||||
| --------- | :----------------------------------- | -------------------------- |
|
||||
| `location` | Path to the configuration file to edit. The file will be created if not found. | `/etc/ssh/sshd_config`, `/etc/nginx/nginx.conf`, `/etc/nginx/sites-available/default` |
|
||||
| `field.path` | Dot-separated chain of strings that match with a configuration field. If **omitted**, the \<value\> will just be added at the end of the configuration file. In the same way if the field does not point to a raw field but a parent or group containing fields, the \<value\> will be added to the group. | `/etc/ssh/sshd_config@AllowGroups`, `/etc/nginx/nginx.conf@http.gzip` |
|
||||
| `location/path` | Path to the configuration file to edit. The file will be created if not found. | `/etc/ssh/sshd_config`, `/etc/nginx/nginx.conf`, `/etc/nginx/sites-available/default` |
|
||||
| `field.path` | Dot-separated chain of strings that match a configuration field. If **omitted**, the \<value\> will just be added at the end of the configuration file. In the same way if the field does not point to a raw field but a parent or group containing fields, the \<value\> will be added to the group. | `/etc/ssh/sshd_config@AllowGroups`, `/etc/nginx/nginx.conf@http.gzip` |
|
||||
|
||||
> When a file is given as \<content\>, the `cnf` command acts as the shell command `mv` (copy).
|
||||
|
||||
|
|
Loading…
Reference in New Issue