projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp ggo help.
[paraslash.git]
/
afh_recv.c
diff --git
a/afh_recv.c
b/afh_recv.c
index 96f0d7ec7cfe3e0b2a757de4f66472ec2d576267..5c17dab7de21132cf48d50bfaf37eabba506ce6f 100644
(file)
--- a/
afh_recv.c
+++ b/
afh_recv.c
@@
-254,9
+254,6
@@
void afh_recv_init(struct receiver *r)
r->parse_config = afh_recv_parse_config;
r->free_config = afh_recv_free_config;
r->execute = afh_execute;
r->parse_config = afh_recv_parse_config;
r->free_config = afh_recv_free_config;
r->execute = afh_execute;
- r->help = (struct ggo_help) {
- .short_help = afh_recv_args_info_help,
- .detailed_help = afh_recv_args_info_detailed_help
- };
+ r->help = (struct ggo_help)DEFINE_GGO_HELP(afh_recv);
afh_recv_cmdline_parser_free(&dummy);
}
afh_recv_cmdline_parser_free(&dummy);
}