lp:~sforshee/powerd/cleanup-cli
- Get this branch:
- bzr branch lp:~sforshee/powerd/cleanup-cli
Branch merges
Branch information
Recent revisions
- 128. By Seth Forshee
-
powerd-cli: Fix display command argument processing
In the case that the first option to the display command was
not "on" it would mistakenly compare argv[2] against "dc". If
there is only one option to the command this is past the end
of argv and could cause a segfault.Also add some missing spaces and fix the checking of the
return value from build_display_request( ). - 127. By Seth Forshee
-
powerd-cli: Add -Wall to compiler flags
Surprisingly this doesn't produce any new warnings right now.
- 126. By Seth Forshee
-
powerd-cli: Get rid of CamelCase
Most of the code uses underscores as delimiters between words, so
convert holdouts using CamelCase to be consistent. Obviously use
of CamelCase from external libs cannot be changed. - 125. By Seth Forshee
-
powerd-cli: Use help text from commands
Rather than collecting the help text for various commands all in
one place, use the data from struc cli_cmd. Also make numerous
enhancments to the help command and its output:* Automatically format the help text
* Use terminal width for wrapping
* Support 'powerd-cli help <command>' syntax to get more help
on a specific commandAlso extend the information in struct cli_cmd to supply detailed
information for each command's options. - 124. By Seth Forshee
-
powerd-cli: Convert help command to new mechanism
Also improve usage to use information provided in command
structs.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:powerd