File tree Expand file tree Collapse file tree 5 files changed +10
-16
lines changed
Expand file tree Collapse file tree 5 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,8 @@ if [ "$#" -ne 3 ] || [ ! -d .git ] || [[ ! "$KIND" =~ ^(requires|equipment)$ ]];
1313Usage: $CMD [requires|equipment] url branch
1414
1515Adds a new cppsm compatible submodule and recursively the submodules it requires
16- to the project.
17-
18- This command is idempotent and can be run to e.g. add new transitive
19- dependencies after updating submodules.
16+ to the project. This command is idempotent and can be run to e.g. add new
17+ transitive dependencies after updating submodules.
2018EOF
2119 exit 1
2220fi
Original file line number Diff line number Diff line change @@ -9,9 +9,8 @@ if [ "$#" -ne 0 ] || [ ! -d .git ]; then
99Usage: $CMD
1010
1111Initializes a new C++ project with cppsm configuration files or updates an
12- existing project to use the latest configuration files.
13-
14- Run $CMD in the top-level directory of a fresh git project.
12+ existing project to use the latest configuration files. Run $CMD in the
13+ top-level directory of a fresh git project.
1514EOF
1615 exit 1
1716fi
Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ if [ "$#" -ne 0 ] || [ ! -e .gitmodules ] ; then
88 cat << EOF
99Usage: $CMD
1010
11- Prints out a dependency tree of submodules.
12-
13- This command exits with an error code in case any problems are found in the
14- dependency tree.
11+ Prints out a dependency tree of submodules. This command exits with an error
12+ code in case any problems are found in the dependency tree.
1513EOF
1614 exit 1
1715fi
Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ if [ "$#" -ne 1 ] || [ ! -d "$SUBMODULE" ] ; then
1010 cat << EOF
1111Usage: $CMD path
1212
13- Removes a previously required submodule.
14-
15- Note that this command does remove submodules transitively.
13+ Removes a previously required submodule. Note that this command does not remove
14+ submodules transitively.
1615EOF
1716 exit 1
1817fi
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ if [ "$#" -ne 0 ] || [ ! -e .gitmodules ] ; then
88 cat << EOF
99Usage: $CMD
1010
11- Upgrades all cppsm managed submodules to latest remote versions and runs init to
12- update configuration files.
11+ Upgrades all cppsm managed submodules to latest remote versions and runs cppsm
12+ init to update configuration files.
1313EOF
1414 exit 1
1515fi
You can’t perform that action at this time.
0 commit comments