Conversation
| .RE | ||
| .RE | ||
| .SS Supported Formats | ||
| Use \fBfq --help formats\fR to get a list of supported formats |
There was a problem hiding this comment.
If we're not going to auto generate this man page maybe this could instead give example how to list supported formats?
There was a problem hiding this comment.
I'm not sure I understand this question, isn't fq --help formats the way to list supported formats?
There was a problem hiding this comment.
Ah sorry i totally missed that, only saw the list of formats :) and what i was wondering was if we should include the list in the man page or not as it will have to be manually kept up to date if we don't update/generate it with make doc etc.
| fq \- jq for binary formats | ||
|
|
||
| .SH SYNOPSIS | ||
| \fBfq\fR [\fI\,OPTION\/\fR]... [--] \fI\,EXPR [\fI\,FILE\/\fR]... |
There was a problem hiding this comment.
It would be nice to have some usage examples here i think. maybe same as shown for fq -h?
This implements a man page as in #697
The man page file is
doc/fq.1formatted as atrofffile using the man-pages project default man page template.You can get a look at how the final man page will run by using
man -l doc/fq.1The structure of the man page is as follows -
NAME
SYNOPSIS
DESCRIPTION
INVOKING FQ
Command Line Arguments
* Decoding/Encoding Options (-o options)
Supported Formats
CONFIGURATION
THE FQ LANGUAGE
TYPES SPECIFIC TO FQ
Decoded Values
Binary
Binary Array
FUNCTIONS
Functions Added in fq
Naming Inconsistencies
ENCODING, SERIALIZATIONS, HASHES
USE AS SCRIPT INTERPRETER
BUGS (+ KNOWN ISSUES)
AUTHOR
SEE ALSO
Some notes -
"Use representation of a format" not added to examples -- not sure how I could fit it in
Have not included the details of each format (
formats.md)The section "Display Output" has been merged into "Functions"
The examples for each of the types in "types specific to fq" were not added -- not sure how I should format them
Only the first paragraph of "Encodings, Serializations, Hashes" was added; I couldn't figure out how to structure them
"Own decoders and use as library" section is TODO in usage.md and was not included