aboutsummaryrefslogtreecommitdiffhomepage
path: root/command-line-arguments.h
diff options
context:
space:
mode:
authorGravatar W. Trevor King <wking@tremily.us>2014-02-10 10:40:27 -0800
committerGravatar David Bremner <david@tethera.net>2014-02-10 22:45:28 -0400
commite4d79bfddb7e8f34f991c9d4ee0256c530187c23 (patch)
tree839a649474fb3ad5d8f15d95d22320af46d11251 /command-line-arguments.h
parenta2b64211b285e35e8f57583809eab98c431a8cd5 (diff)
nmbug-status: Consolidate functions and main code
The definitions of Thread, output_with_separator, and print_view were between the main argparse and view-printing code. Group them together with our existing read_config at the top of the module, which makes for easier reading in the main section. I also: * Made 'headers' a print_view argument instead of a module-level global. The list -> tuple conversion avoids having a mutable default argument, which makes some people jumpy ;). * Made 'db' a print_view argument instead of relying on the global namespace to access it from print_view.
Diffstat (limited to 'command-line-arguments.h')
0 files changed, 0 insertions, 0 deletions