From aee3661b35abe4f27a35f7d6305de4c25f8a446c Mon Sep 17 00:00:00 2001 From: practicalswift Date: Thu, 28 Dec 2017 14:40:01 +0100 Subject: [PATCH] Fix typos (repeated words) --- doc/lightning-cli.1 | 2 +- doc/lightning-cli.1.txt | 2 +- tools/generate-wire.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lightning-cli.1 b/doc/lightning-cli.1 index 0fb5990b5..ddf390ad1 100644 --- a/doc/lightning-cli.1 +++ b/doc/lightning-cli.1 @@ -45,7 +45,7 @@ Set the directory for the lightning daemon we\(cqre talking to; defaults to .PP \fB\-\-rpc\-file\fR=\fIFILE\fR .RS 4 -Named pipe to use to to talk to lightning daemon: default is +Named pipe to use to talk to lightning daemon: default is \fIlightning\-rpc\fR in the lightning directory\&. .RE diff --git a/doc/lightning-cli.1.txt b/doc/lightning-cli.1.txt index 40e8d7c41..ad2ffe336 100644 --- a/doc/lightning-cli.1.txt +++ b/doc/lightning-cli.1.txt @@ -21,7 +21,7 @@ OPTIONS Set the directory for the lightning daemon we're talking to; defaults to '$HOME/.lightning'. *--rpc-file*='FILE':: - Named pipe to use to to talk to lightning daemon: default is 'lightning-rpc' + Named pipe to use to talk to lightning daemon: default is 'lightning-rpc' in the lightning directory. *--help*/*-h*:: Print summary of options to standard output and exit. diff --git a/tools/generate-wire.py b/tools/generate-wire.py index f86971ba7..e2b6e8451 100755 --- a/tools/generate-wire.py +++ b/tools/generate-wire.py @@ -412,7 +412,7 @@ def find_message_with_option(messages, optional_messages, name, option): optional_messages.append(m) return m -parser = argparse.ArgumentParser(description='Generate C from from CSV') +parser = argparse.ArgumentParser(description='Generate C from CSV') parser.add_argument('--header', action='store_true', help="Create wire header") parser.add_argument('--bolt', action='store_true', help="Generate wire-format for BOLT") parser.add_argument('headerfilename', help='The filename of the header')