gnc-fq-dump: add examples to synopsis + remove tabs

This commit is contained in:
goodvibes2 2020-06-12 15:05:53 +10:00
parent 9344e5a467
commit ec08fc1d1a

View File

@ -113,13 +113,13 @@ sub report {
# Dump gnucash recognized fields # Dump gnucash recognized fields
printf "Finance::Quote fields Gnucash uses:\n"; printf "Finance::Quote fields Gnucash uses:\n";
printf " symbol: %-20s <=== required\n", $symbol; printf " symbol: %-20s <=== required\n", $symbol;
printf " date: %-20s <=== recommended\n", $date; printf " date: %-20s <=== recommended\n", $date;
printf " currency: %-20s <=== required\n", $currency; printf " currency: %-20s <=== required\n", $currency;
printf " last: %-20s <=\\ \n", $last; printf " last: %-20s <=\\ \n", $last;
printf " nav: %-20s <=== one of these\n", $nav; printf " nav: %-20s <=== one of these\n", $nav;
printf " price: %-20s <=/ \n", $price; printf " price: %-20s <=/ \n", $price;
printf " timezone: %-20s <=== optional\n", $timezone; printf " timezone: %-20s <=== optional\n", $timezone;
# Report failure # Report failure
if ($gccanuse == 0) { if ($gccanuse == 0) {
@ -197,15 +197,20 @@ if ($exchange eq "currency") {
=head1 NAME =head1 NAME
gnc-fq-dump - Print out data from the F::Q module gnc-fq-dump - Print out data from the F::Q module
=head1 SYNOPSIS =head1 SYNOPSIS
gnc-fq-dump alphavantage CSCO JNPR Currency Exchange Rates
gnc-fq-dump alphavantage BAESY.PK gnc-fq-dump currency USD AUD
gnc-fq-dump europe 48406.PA 13000.PA gnc-fq-dump [-v] yahoo_json USDEUR=X
gnc-fq-dump vwd 632034 Stock Quotes
gnc-fq-dump ftportfolios FKYGTX gnc-fq-dump [-v] alphavantage CSCO JNPR
gnc-fq-dump [-v] alphavantage BAESY.PK
gnc-fq-dump [-v] yahoo_json CBA.AX
gnc-fq-dump [-v] europe 48406.PA 13000.PA
gnc-fq-dump [-v] vwd 632034
gnc-fq-dump [-v] ftportfolios FKYGTX
=head1 DESCRIPTION =head1 DESCRIPTION