aboutsummaryrefslogtreecommitdiff
path: root/src/hdfsee.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-28 10:02:15 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:16 +0100
commit0be308c286477205eb7b9ee8ddd97cd608de6a2e (patch)
treefc75eefe36e89c5ec5f7efde2452d191f64187b5 /src/hdfsee.c
parent4e31162cb8f3025f56f824cee4be5a3cbf05692c (diff)
hdfsee: Add --show-rings option
Diffstat (limited to 'src/hdfsee.c')
-rw-r--r--src/hdfsee.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hdfsee.c b/src/hdfsee.c
index 282d0cc7..45373df0 100644
--- a/src/hdfsee.c
+++ b/src/hdfsee.c
@@ -92,6 +92,7 @@ int main(int argc, char *argv[])
int binning = 2;
int config_cmfilter = 0;
int config_noisefilter = 0;
+ int config_showrings = 0;
int colscale = SCALE_COLOUR;
char *cscale = NULL;
char *element = NULL;
@@ -108,6 +109,7 @@ int main(int argc, char *argv[])
{"colscale", 1, NULL, 'c'},
{"image", 1, NULL, 'e'},
{"geometry", 1, NULL, 'g'},
+ {"show-rings", 0, &config_showrings, 1},
{0, 0, NULL, 0}
};
@@ -190,7 +192,8 @@ int main(int argc, char *argv[])
config_cmfilter,
config_noisefilter,
colscale, element,
- geometry);
+ geometry,
+ config_showrings);
if ( main_window_list[i] == NULL ) {
ERROR("Couldn't open display window\n");
} else {