After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 70316 - gconftool-2 prints nothing if no options are passed
gconftool-2 prints nothing if no options are passed
Status: RESOLVED FIXED
Product: GConf
Classification: Deprecated
Component: gconf
2.2.x
Other Linux
: Normal minor
: GNOME2.x
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-02-01 20:44 UTC by Mario Vukelic
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch to print the usage message (341 bytes, patch)
2003-08-11 14:13 UTC, Muktha
none Details | Review
Modified patch (359 bytes, patch)
2003-08-12 05:01 UTC, Muktha
none Details | Review

Description Mario Vukelic 2002-02-01 20:44:39 UTC
Action:

gnome2@sonic:~$ gconftool-2&

Result:

[3] 20841
gnome2@sonic:~$ GLib-GObject-Message: stale GObjects: 2
GLib-GObject-Message: [0x805c150] stale GIOPServer      ref_count=1
GLib-GObject-Message: [0x8059b40] stale GIOPConnection  ref_count=2

[3]+  Done                    gconftool-2
gnome2@sonic:~$

Expected:
It starts? ;o)
Comment 1 Havoc Pennington 2002-02-01 21:16:01 UTC
Should print a usage message I suppose.
Comment 2 Luis Villa 2002-02-04 03:26:56 UTC
Just clearing up the title to make it easier to find it if dupes are
reported.
Comment 3 Muktha 2003-08-11 14:13:27 UTC
Created attachment 19110 [details] [review]
Proposed patch to print the usage message
Comment 4 Havoc Pennington 2003-08-11 14:37:08 UTC
Indentation/braces should be GNU style (braces on own line, 
2 space indent)

should return nonzero for failure in this case I think.
Comment 5 Muktha 2003-08-12 05:01:08 UTC
Created attachment 19134 [details] [review]
Modified patch
Comment 6 Havoc Pennington 2003-08-12 15:14:23 UTC
That looks fine to commit, with ChangeLog entry.

Thanks
Comment 7 Manuel Clos 2003-08-13 22:28:06 UTC
adding PATCH keyword.
Comment 8 Muktha 2003-08-18 14:14:23 UTC
Patch committed to head.

2003-08-18  Muktha  <muktha.narayan@wipro.com>
        * gconf/gconftool.c (main) : Print usage message when no
          options are passed to gconftool-2. Fixes #70316.