Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brightpuddle authored Dec 11, 2019
1 parent 47ce6a2 commit a9fdf91
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,18 @@ moquery uses a unique filtering syntax for the `-f` filter option, e.g. `fv.BD.n
reQuery always outputs in JSON; however, the data structure is flattened and is similar to moquery.

### CLI arguments

#### Not implemented:
```
-a --attrs type of attributes to display (config, all)
```
reQuery always displays all attributes.

```
-o --output Display format (block, table, xml, json)
```
reQuery only outputs JSON.
`-a --attrs` - reQuery always displays all attributes. Use external tools like awk and grep to limit results to config only.

`-o --output` - reQuery only outputs JSON.

```
-p --port REST server port
```
Just add the port to the hostname/IP, e.g. 10.0.0.1:443
`-p --port` - Just add the port to the hostname/IP, e.g. `10.0.0.1:443`

#### Renamed:
```
--klass
```
This was renamed to `--class` for consistency.
`-c --klass` - This was renamed to `-c --class`.


#### Unique to requery:
```
-m --mode :Force mode
```
By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option.
`-m --mode` - By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option to specify `http` or `backup`.

0 comments on commit a9fdf91

Please sign in to comment.