Opened 15 years ago
Closed 15 years ago
#5935 closed patch (fixed)
mythshutdown --help
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythshutdown | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
There is no need to initialise mythcontext or anything when running mythshutdown --help. This patch simply moves the call for showUsage() higher up so it is called before initialisation.
Without this it is impossible to see usage message without being able to connect to a backend.
Attachments (11)
Change History (17)
Changed 15 years ago by
Attachment: | 08-mythshutdown-showusage.patch added |
---|
Changed 15 years ago by
Attachment: | 10-mythwelcome-showusage.patch added |
---|
comment:1 Changed 15 years ago by
20-5935-mythshutdown-showusage.patch
Updated version of previous patch:
-Adds version info to usage printout.
-Changes calls from "system" to "myth_system" instead.
-Fixes indentation errors to match coding style and a typo.
-showUsage is called before mythcontext initialisation.
Changed 15 years ago by
Attachment: | 00-5935-mythwelcome-showusage.patch added |
---|
comment:2 Changed 15 years ago by
00-5935-mythwelcome-showusage.patch
Updated version of previous patch:
-Adds version info to usage printout.
-showUsage is called before mythcontext initialisation.
Changed 15 years ago by
Attachment: | 00-5935-mythfrontend-showusage.patch added |
---|
comment:3 Changed 15 years ago by
00-5935-mythfrontend-showusage.patch
-Changes calls from "system" to "myth_system" instead.
-Changes function name from PrintHelp? to showUsage for consistency with other myth apps.
Changed 15 years ago by
Attachment: | 00-5935-mythbackend-showusage.patch added |
---|
comment:4 Changed 15 years ago by
00-5935-mythbackend-showusage.patch
-Adds showUsage function and moves usage information into it.
-Changes calls from "system" to "myth_system" instead.
comment:5 Changed 15 years ago by
Owner: | changed from Isaac Richards to danielk |
---|---|
Status: | new → accepted |
Changed 15 years ago by
Attachment: | 20-5935-mythshutdown-showusage.2.patch added |
---|
Minor compile fixes due to header reorganisation
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Changed 15 years ago by
Attachment: | 00-5935-mythbackend-showusage.2.patch added |
---|
Changed 15 years ago by
Attachment: | 00-5935-mythfrontend-showusage.2.patch added |
---|
Changed 15 years ago by
Attachment: | 00-5935-mythwelcome-showusage.2.patch added |
---|
The same for mythwelcome