document --new-instance
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 25 Apr 2012 17:13:11 +0000 (17:13 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 25 Apr 2012 17:13:11 +0000 (17:13 +0000)
NEWS
src/description.txt
src/main.c

diff --git a/NEWS b/NEWS
index 192a8b6..5d8d33e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,8 @@
    instances show the window of the primary psensor instance and
    exits.
 ** many code quality improvements.
+** psensor: added --new-instance option to allow the creation of
+   multiple instances of Psensor.
 
 * v0.6.2.17
 
index 02b6021..3dfdd56 100644 (file)
@@ -23,7 +23,7 @@ instruction. See the manpages of sensors(1) and sensors\-detect(8) for
 more information.
 
 To retrieve the temperature of the Hard Disk Drives, the hddtemp
-daemon must be running.
+daemon must be running or atasmart used ('\-\-use\-libatasmart').
 
 For remote monitoring:
   * start psensor\-server(1) on the remote computer
@@ -33,7 +33,12 @@ ATI/AMD GPUs monitoring is available if the library libatiadlxx is
 present in the directory /usr/lib and psensor has been compiled with
 the ATI ADL SDK.
 
-Log is written to '$HOME/.psensor/log'.
+Log messages are written to '$HOME/.psensor/log'.
+
+By default, if a Psensor process is already running, the command
+psensor will show the graph window then exit.  
+It is possible to run multiple instances of Psensor by using the
+option '\-\-new\-instance'.
 
 [SEE ALSO]
 
index e733487..1781038 100644 (file)
@@ -102,6 +102,8 @@ static void print_help()
        puts(_("  --use-libatasmart   "
               "use atasmart library for disk monitoring "
               "instead of hddtemp daemon"));
+       puts(_("  -n, --new-instance  "
+              "force the creation of a new Psensor application"));
        puts("");
 
        puts(_("  -d, --debug=LEVEL   "