[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 679d6a0 1/4: Short format for BuildPrograms de
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 679d6a0 1/4: Short format for BuildPrograms deletecompiled and tag options |
Date: |
Sat, 28 Apr 2018 20:40:20 -0400 (EDT) |
branch: master
commit 679d6a039daedbc0eca71c4007d52657f0056deb
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Short format for BuildPrograms deletecompiled and tag options
BuildProgram doesn't have too many options, however, the `--detecompiled'
and `--tag' options didn't have a short format! So the `-d' and `-t' short
options are now assigned to these two options respectively.
---
bin/buildprog/ui.h | 8 ++++----
doc/gnuastro.texi | 6 ++++--
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/bin/buildprog/ui.h b/bin/buildprog/ui.h
index 85ee1bb..9089e84 100644
--- a/bin/buildprog/ui.h
+++ b/bin/buildprog/ui.h
@@ -32,7 +32,7 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
/* Available letters for short options:
- c d e f i j k n p r s t u v w x y z
+ c e f i j k n p r s u v w x y z
A B C E G H J Q R X Y
*/
enum option_keys_enum
@@ -41,16 +41,16 @@ enum option_keys_enum
UI_KEY_INCLUDE = 'I',
UI_KEY_LINKDIR = 'L',
UI_KEY_LINKLIB = 'l',
- UI_KEY_LA = 'a',
UI_KEY_ONLYBUILD = 'b',
UI_KEY_DEBUG = 'g',
UI_KEY_OPTIMIZE = 'O',
UI_KEY_WARNING = 'W',
+ UI_KEY_TAG = 't',
+ UI_KEY_DETELECOMPILED = 'd',
+ UI_KEY_LA = 'a',
/* Only with long version (start with a value 1000, the rest will be set
automatically). */
- UI_KEY_DETELECOMPILED = 1000,
- UI_KEY_TAG,
};
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 00a0f4d..07a6c2e 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -20006,7 +20006,8 @@ list. Some of the most common values to this option
are: @option{pedantic}
(Warnings related to standard C) and @option{all} (all issues the compiler
confronts).
address@hidden --tag=STR
address@hidden -t
address@hidden --tag=STR
The language configuration information. Libtool can build objects and
libraries in many languages. In many cases, it can identify the language
automatically, but when it doesn't you can use this option to explicitly
@@ -20021,7 +20022,8 @@ all these languages.
Only build the program, don't run it. By default, the built program is
immediately run afterwards.
address@hidden --deletecompiled
address@hidden -d
address@hidden --deletecompiled
Delete the compiled binary file after running it. This option is only
relevant when the compiled program is run after being built. In other
words, it is only relevant when @option{--onlybuild} is not called. It can