Re: Error on help in /src/bin/pg_basebackup/pg_basebackup.c

From: Romain MAZIÈRE <romain(dot)maziere(at)sigmaz-consilium(dot)fr>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Error on help in /src/bin/pg_basebackup/pg_basebackup.c
Date: 2023-09-01 11:00:45
Message-ID: 427cb1fa-5796-34e7-c718-f29aad96b1b0@sigmaz-consilium.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

As you can see here, --waldir is indented, when it should be at the same
level as -T.

Same for all those is bold (if I'm true).

  -T, --tablespace-mapping=ANCIENREP=NOUVEAUREP
                                 déplace le répertoire ANCIENREP en
NOUVEAUREP
*--waldir*=RÉP_WAL           emplacement du répertoire des journaux de
                                 transactions
  -X, --wal-method=none|fetch|stream
                                 inclut les journaux de transactions
requis avec
                                 la méthode spécifiée
Options générales :
  -c, --checkpoint=fast|spread   exécute un CHECKPOINT rapide ou réparti
*--create-slot*              crée un slot de réplication
  -l, --label=LABEL              configure le label de sauvegarde
  -v, --verbose                  affiche des messages verbeux
  -V, --version                  affiche la version puis quitte
*--manifest-checksums*=SHA{224,256,384,512}|CRC32C|NONE
                                 utilise cet algorithme pour les sommes de
                                 contrôle du manifeste
*      --manifest-force-encode*    encode tous les noms de fichier dans le
                                 manifeste en hexadécimal
*      --no-estimate-size*         ne réalise pas d'estimation sur la
taille de la
                                 sauvegarde côté serveur
*      --no-manifest*              supprime la génération de manifeste de
                                 sauvegarde
*      --no-slot*                  empêche la création de slots de
réplication
                                 temporaires
*      --no-verify-checksums*      ne vérifie pas les sommes de contrôle
  -?, --help                     affiche cette aide puis quitte

Le 01/09/2023 à 12:50, Michael Paquier a écrit :
> On Fri, Sep 01, 2023 at 12:34:26PM +0200, Romain MAZIÈRE wrote:
>> It seams to be an indentation error in src/bin/pg_basebackup/pg_basebackup.c
>> in the usage function concerning :
>>
>> *--waldir* and from *--manifest-checksums* to *--no-verify-checksums*.
> I am not sure to understand what you mean here. Are you referring to
> a point of the code in a specific commit and/or version? If possible,
> could you post a patch to show you idea? The indentation of the
> output generated seems OK from here.
> --
> Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2023-09-01 12:02:02 Re: Error on help in /src/bin/pg_basebackup/pg_basebackup.c
Previous Message Michael Paquier 2023-09-01 10:50:27 Re: Error on help in /src/bin/pg_basebackup/pg_basebackup.c