From 7ee1ec92ec273a53dad2055ba1bc12e8b477da1e Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Wed, 19 Dec 2018 15:15:28 +0100
Subject: [PATCH] STYLE: add usage information for subsetMesh argument

---
 .../mesh/manipulation/subsetMesh/subsetMesh.C | 21 ++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C b/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C
index cdcc054103e..41cf08f0e25 100644
--- a/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C
+++ b/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C
@@ -380,26 +380,33 @@ int main(int argc, char *argv[])
 
     #include "addOverwriteOption.H"
     #include "addRegionOption.H"
-    argList::addArgument("setOrZoneName");
+    argList::addArgument
+    (
+        "cell-selection",
+        "The cellSet name, but with the -zone option this is interpreted"
+        " to be a cellZone selection by name(s) or regex.\n"
+        "Eg 'mixer' or '( mixer \"moving.*\" )'"
+    );
+
     argList::addOption
     (
         "patch",
         "name",
-        "Add exposed internal faces to specified patch "
-        "instead of \"oldInternalFaces\""
+        "Add exposed internal faces to specified patch"
+        " instead of \"oldInternalFaces\""
     );
     argList::addOption
     (
         "patches",
         "wordRes",
-        "Add exposed internal faces to closest of specified patches "
-        "instead of \"oldInternalFaces\""
+        "Add exposed internal faces to closest of specified patches"
+        " instead of \"oldInternalFaces\""
     );
     argList::addBoolOption
     (
         "zone",
-        "Subset with cellZone(s) instead of cellSet. "
-        "The command argument may be a list of words or regexs"
+        "Subset with cellZone(s) instead of cellSet."
+        " The command argument may be a list of words or regexs"
     );
     argList::addOption
     (
-- 
GitLab