[Pkg-wmaker-commits] [wmdiskmon] 02/25: Imported Upstream version 0.0.2

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Jan 30 20:51:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmdiskmon.

commit 85b0adb928dbbf835903337a73287cd3fc5acef8
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Thu Jan 28 23:18:12 2016 -0500

    Imported Upstream version 0.0.2
---
 ChangeLog       |  6 ++++++
 configure       | 18 +++++++++---------
 configure.ac    |  4 ++--
 doc/wmdiskmon.1 |  4 ++--
 src/main.c      |  8 ++++----
 5 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b06e825..6f63fc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,2 +1,8 @@
+2005-04-07
+    * released version 0.0.2
+
+2005-03-31
+    * changed default behavior to display mount points instead of devices
+
 2004-02-13
     * Creation :)
diff --git a/configure b/configure
index 44893d2..afa7bf3 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.53 for wmdiskmon 0.0.1.
+# Generated by GNU Autoconf 2.53 for wmdiskmon 0.0.2.
 #
 # Report bugs to <tnemeth at free.fr>.
 #
@@ -256,8 +256,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 PACKAGE_NAME='wmdiskmon'
 PACKAGE_TARNAME='wmdiskmon'
-PACKAGE_VERSION='0.0.1'
-PACKAGE_STRING='wmdiskmon 0.0.1'
+PACKAGE_VERSION='0.0.2'
+PACKAGE_STRING='wmdiskmon 0.0.2'
 PACKAGE_BUGREPORT='tnemeth at free.fr'
 
 ac_unique_file="src/main.c"
@@ -762,7 +762,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures wmdiskmon 0.0.1 to adapt to many kinds of systems.
+\`configure' configures wmdiskmon 0.0.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -833,7 +833,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of wmdiskmon 0.0.1:";;
+     short | recursive ) echo "Configuration of wmdiskmon 0.0.2:";;
    esac
   cat <<\_ACEOF
 
@@ -924,7 +924,7 @@ fi
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-wmdiskmon configure 0.0.1
+wmdiskmon configure 0.0.2
 generated by GNU Autoconf 2.53
 
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -939,7 +939,7 @@ cat >&5 <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by wmdiskmon $as_me 0.0.1, which was
+It was created by wmdiskmon $as_me 0.0.2, which was
 generated by GNU Autoconf 2.53.  Invocation command line was
 
   $ $0 $@
@@ -5317,7 +5317,7 @@ _ASBOX
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by wmdiskmon $as_me 0.0.1, which was
+This file was extended by wmdiskmon $as_me 0.0.2, which was
 generated by GNU Autoconf 2.53.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -5379,7 +5379,7 @@ _ACEOF
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-wmdiskmon config.status 0.0.1
+wmdiskmon config.status 0.0.2
 configured by $0, generated by GNU Autoconf 2.53,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
diff --git a/configure.ac b/configure.ac
index 6352d0d..4f3d1a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,8 +2,8 @@ dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.52)
 
 dnl AC_INIT(src/main.c)
-dnl AM_INIT_AUTOMAKE(wmdiskmon, 0.0.1)
-AC_INIT(wmdiskmon, 0.0.1, tnemeth at free.fr)
+dnl AM_INIT_AUTOMAKE(wmdiskmon, 0.0.2)
+AC_INIT(wmdiskmon, 0.0.2, tnemeth at free.fr)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
diff --git a/doc/wmdiskmon.1 b/doc/wmdiskmon.1
index ba021be..ba97c77 100644
--- a/doc/wmdiskmon.1
+++ b/doc/wmdiskmon.1
@@ -82,8 +82,8 @@ monitor the <device> partition (may be used more than once), a NFS device
 can also be specified (in fact all that is in the 1rst column of df -P,
 the POSIX df behavior)
 .TP
-.B \-m,  \-\-mount\-point
-show mount point instead of device
+.B \-n,  \-\-device
+show device instead of mount point
 .TP
 .B \-s,  \-\-single
 show only one device at a time (default behavior is to display 3)
diff --git a/src/main.c b/src/main.c
index 10740df..f4f1436 100644
--- a/src/main.c
+++ b/src/main.c
@@ -75,7 +75,7 @@ static unsigned  update_interval   = 5;
 static int       background        = 2;
 static light     backlight         = LIGHTOFF;
 static Bool      switch_authorized = True;
-static Bool      show_devs         = True;
+static Bool      show_devs         = False;
 static Partition *partitions       = NULL;
 static Partition *current          = NULL;
 
@@ -463,8 +463,8 @@ static void parse_arguments(int argc, char **argv) {
             dockapp_isbrokenwm = True;
         } else if (!strcmp(argv[i], "--no-blink") || !strcmp(argv[i], "-nb")) {
             switch_authorized = False;
-        } else if (!strcmp(argv[i], "--mount-point") || !strcmp(argv[i], "-m")) {
-            show_devs = False;
+        } else if (!strcmp(argv[i], "--device") || !strcmp(argv[i], "-n")) {
+            show_devs = True;
         } else if (!strcmp(argv[i], "--single") || !strcmp(argv[i], "-s")) {
             background = 1;
         } else if (!strcmp(argv[i], "--partition") || !strcmp(argv[i], "-p")) {
@@ -491,7 +491,7 @@ static void print_help(char *prog)
            "  -w,  --windowed                run the application in windowed mode\n"
            "  -bw, --broken-wm               activate broken window manager fix\n"
            "  -p,  --partition <device>      show informations for device (may be used more than once)\n"
-           "  -m, --mount-point              show mount point instead of device\n"
+           "  -n, --device                   show device instead of mount point\n"
            "  -s, --single                   show only one device at a time\n");
     /* OPTIONS SUPP :
            "  -nb, --no-blink                disable blinking\n");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmdiskmon.git



More information about the Pkg-wmaker-commits mailing list