Skip to content

Commit

Permalink
cli: Updated manpage filename
Browse files Browse the repository at this point in the history
Changelog-Changed: Removed lightning- prefix from all rpc schema files.
  • Loading branch information
ShahanaFarooqui committed Jan 28, 2025
1 parent a2839ff commit 1d7a01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/lightning-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ int main(int argc, char *argv[])
* not need to have lightningd running in this case. */
if (streq(method, "help") && format == DEFAULT_FORMAT && argc >= 3 && !commando) {
command = argv[2];
char *page = tal_fmt(ctx, "lightning-%s", command);
char *page = tal_fmt(ctx, "%s", command);

try_exec_man(page, NULL);

Expand Down

0 comments on commit 1d7a01d

Please sign in to comment.