[Bug 299818] New: help does not work in zypper shell
https://bugzilla.novell.com/show_bug.cgi?id=299818 Summary: help does not work in zypper shell Product: openSUSE 10.3 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: msvec@novell.com QAContact: kkaempf@novell.com Found By: --- bash# zypper sh zypper> help zypper> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com AssignedTo|kkaempf@novell.com |jkupec@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c2 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Martin Vidner <mvidner@novell.com> 2007-08-23 07:26:32 MST --- It's not just the help. Nothing works. *** This bug has been marked as a duplicate of bug 301666 *** https://bugzilla.novell.com/show_bug.cgi?id=301666 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c3 Dominique Leuenberger <dominique.leuenberger@tmf-group.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dominique.leuenberger@tmf-group.com --- Comment #3 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2007-08-23 08:06:16 MST --- Well, it remains to tell that help did not work for longer. even when the shell mode was still intact, help did not produce an output. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c4 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #4 from Martin Vidner <mvidner@novell.com> 2007-08-23 09:24:36 MST --- Er, right. I fixed that one and the help still does not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c5 --- Comment #5 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2007-08-23 09:31:33 MST --- I can provide a patch (prepared once one for this... long ago :-) against latest versions. I also intropduced "?" as a valid command for help (just because I'm lazy). Would you like it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c6 --- Comment #6 from Martin Vidner <mvidner@novell.com> 2007-08-23 09:48:05 MST --- Oh certainly! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c7 --- Comment #7 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2007-08-23 12:53:07 MST --- Created an attachment (id=159556) --> (https://bugzilla.novell.com/attachment.cgi?id=159556) Simple patch to solve this The simple patch creates some output when you type help. It outputs the string help_commands (the lower part of zypper help). I decided not to output the global_options, as they appear quiet useless to be used within the shell. Besides "help", now also "?" is accepted as the help modifier (works in shell and on commandline) It works for me, but it might not be the style requested by Novell? (I had to take the static string help_commands to the global part). Anyhow: feel free to include it or to deny it. Dominique PS: If you go for this patch, let me know. I might extend it a bit more to also accept help <command>. Basically I'd see a rewrite to <command> --help in this case. What do you think? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c8 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #8 from Martin Vidner <mvidner@novell.com> 2007-08-24 00:51:28 MST --- Great, patch applied in SVN.
PS: If you go for this patch, let me know. I might extend it a bit more to also accept help <command>. Basically I'd see a rewrite to <command> --help in this case. What do you think?
Even better, please go ahead. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c9 --- Comment #9 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2007-08-25 14:04:56 MST --- Created an attachment (id=159867) --> (https://bugzilla.novell.com/attachment.cgi?id=159867) patch to extend the shell help in zypper shell, the following now works: the new syntax for help is: {help|?} [command] If [command] is omitted, it gives the output of global_help (the command list, without the global options); in case a command is specified, The patch applies against SVN. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299818#c10 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Martin Vidner <mvidner@novell.com> 2007-08-28 10:32:54 MST --- Thanks. Submitted as zypper-0.8.17. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com