From d8ca787e91475924643faedbcb9f4531c9b9b02d Mon Sep 17 00:00:00 2001 From: Jukka Rahkonen Date: Mon, 9 Dec 2024 12:58:23 +0200 Subject: [PATCH] ogrinfo: command line help text fixes (#11462) Co-authored-by: Alessandro Pasotti --- apps/ogrinfo_lib.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/ogrinfo_lib.cpp b/apps/ogrinfo_lib.cpp index e626f7998261..507e0985b3d7 100644 --- a/apps/ogrinfo_lib.cpp +++ b/apps/ogrinfo_lib.cpp @@ -2305,18 +2305,18 @@ static std::unique_ptr GDALVectorInfoOptionsGetParser( argParser->add_argument("-al") .store_into(psOptions->bAllLayers) .help(_("List all layers (used instead of having to give layer names " - "as arguments)")); + "as arguments).")); { auto &group = argParser->add_mutually_exclusive_group(); group.add_argument("-so", "-summary") .store_into(psOptions->bSummaryParser) - .help(_("Summary only: list all layers (used instead of having to " - "give layer names as arguments)")); + .help(_("Summary only: show only summary information like " + "projection, schema, feature count and extents.")); group.add_argument("-features") .store_into(psOptions->bFeaturesParser) - .help(_("Enable listing of features")); + .help(_("Enable listing of features.")); } argParser->add_argument("-limit") @@ -2353,13 +2353,13 @@ static std::unique_ptr GDALVectorInfoOptionsGetParser( if (psOptionsForBinary) psOptionsForBinary->aosOpenOptions.AddString(s.c_str()); }) - .help(_("Dataset open option (format-specific)")); + .help(_("Dataset open option (format-specific).")); argParser->add_argument("-nomd") .flag() .action([psOptions](const std::string &) { psOptions->bShowMetadata = false; }) - .help(_("Suppress metadata printing")); + .help(_("Suppress metadata printing.")); argParser->add_argument("-listmdd") .store_into(psOptions->bListMDD)