Add more help infos for -h
This commit is contained in:
parent
b97fe48f73
commit
2f99433d11
1 changed files with 13 additions and 7 deletions
20
nb_create.sh
20
nb_create.sh
|
|
@ -30,14 +30,20 @@ help() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
Usage: $this_script [OPTIONS] params
|
Usage: $this_script [OPTIONS] params
|
||||||
Convenience script to create C/C++ NetBeans projects.
|
Convenience script to create a C/C++ NetBeans projects.
|
||||||
Create a generic NetBeans project from a Git repo.
|
|
||||||
Project name, file containing main and a Git repo
|
Create a generic NetBeans projec using a Git repo.
|
||||||
can be specified using command line options, or
|
Project name and file containing main are by default
|
||||||
defaults can be used.
|
the name of the current directory. These can be changed
|
||||||
|
by using command line options.
|
||||||
|
|
||||||
|
The Makefile currently has these targets:
|
||||||
|
debug:
|
||||||
|
check1: cppcheck static analysis
|
||||||
|
check2: clang-tidy
|
||||||
Options:
|
Options:
|
||||||
-d [--debug]
|
-d [--debug]
|
||||||
Add extra debugging infos
|
Add extra debugging infos for this script
|
||||||
-h [--help]
|
-h [--help]
|
||||||
print this help
|
print this help
|
||||||
-m [--main] <name_of_file_containing_main>
|
-m [--main] <name_of_file_containing_main>
|
||||||
|
|
@ -48,7 +54,7 @@ Options:
|
||||||
default: name of the current directory
|
default: name of the current directory
|
||||||
-r [--repo] <git_repo>
|
-r [--repo] <git_repo>
|
||||||
The Git repo containing the NetBeans generic C/C++ project
|
The Git repo containing the NetBeans generic C/C++ project
|
||||||
Default: /home/benn/share/home/repo/netbeans_proj/netbeans_generic.git
|
Default: https://codeberg.org/mebenn/netbeans_generic.git
|
||||||
Licence:
|
Licence:
|
||||||
$this_script Copyright (C) 2025 Benny Lyons.
|
$this_script Copyright (C) 2025 Benny Lyons.
|
||||||
GNU GPL2 or later; see LICENCE distributed with this file for more details.
|
GNU GPL2 or later; see LICENCE distributed with this file for more details.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue