Re: check alignment of --help output

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, "pgsql-translators(at)lists(dot)postgresql(dot)org" <pgsql-translators(at)lists(dot)postgresql(dot)org>
Subject: Re: check alignment of --help output
Date: 2021-09-17 05:45:00
Message-ID: b3d0352f-c820-e9e9-ee69-64ff30d29f01@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-translators

Hello Peter,
16.09.2021 14:40, Peter Eisentraut wrote:
> I just checked the alignment of the translated --help output and fixed
> a few mistakes.  But some translations were all over the place, so I
> didn't feel like messing with that.  Please check, for example with
>
> export LANG=...
> for x in $prefix/bin/*; do $x --help; done | less
>
> and make it look nice. :)
Russian translation is fixed now. Thanks for taking care of this!

And while in moving to nice look, I would like to note that the new
pg_amcheck' help looks different from others in using "NOT".
  -a, --all                       check all databases
  -d, --database=PATTERN          check matching database(s)
  -D, --exclude-database=PATTERN  do NOT check matching database(s)
  -i, --index=PATTERN             check matching index(es)
  -I, --exclude-index=PATTERN     do NOT check matching index(es)
  -r, --relation=PATTERN          check matching relation(s)
  -R, --exclude-relation=PATTERN  do NOT check matching relation(s)
  -s, --schema=PATTERN            check matching schema(s)
vs
  --no-comments                do not dump comments
  --no-publications            do not dump publications
  --no-security-labels         do not dump security label assignments
  --no-subscriptions           do not dump subscriptions
  --no-synchronized-snapshots  do not use synchronized snapshots in
parallel jobs
  --no-tablespaces             do not dump tablespace assignments
  --no-toast-compression       do not dump TOAST compression methods
  --no-unlogged-table-data     do not dump unlogged table data

Is this emphasis appropriate?

Best regards,
Alexander

In response to

Responses

Browse pgsql-translators by date

  From Date Subject
Next Message Peter Eisentraut 2021-09-17 09:03:51 Re: check alignment of --help output
Previous Message gkokolatos 2021-09-16 11:58:33 Re: check alignment of --help output