Skip to content

help message is printed twice #23

@jblachly

Description

@jblachly

the -h / --help message is printed twice in version 0.2.0:

ubuntu@lnd:~/lndconnect-linux-amd64-v0.2.0$ ./lndconnect -h
Usage:
  lndconnect [OPTIONS]

Application Options:
      --lnddir=               The base directory that contains lnd's data, logs, configuration file, etc. (default:
                              /home/ubuntu/.lnd)
      --configfile=           Path to configuration file (default: /home/ubuntu/.lnd/lnd.conf)
  -b, --datadir=              The directory to find lnd's data within (default: /home/ubuntu/.lnd/data)
      --tlscertpath=          Path to read the TLS certificate from (default: /home/ubuntu/.lnd/tls.cert)
      --adminmacaroonpath=    Path to read the admin macaroon from
      --readonlymacaroonpath= Path to read the read-only macaroon from
      --invoicemacaroonpath=  Path to read the invoice-only macaroon from

LndConnect:
  -i, --localip               Include local ip in QRCode
  -l, --localhost             Use 127.0.0.1 for ip
      --host=                 Use specific host name
      --nocert                Don't include the certificate
  -p, --port=                 Use this port (default: 10009)
  -j, --url                   Display url instead of a QRCode
  -o, --image                 Output QRCode to file
      --invoice               Use invoice macaroon
      --readonly              Use readonly macaroon
  -q, --query=                Add additional url query parameters

Bitcoin:
      --bitcoin.active        If the chain should be active or not
      --bitcoin.mainnet       Use the main network
      --bitcoin.testnet       Use the test network
      --bitcoin.simnet        Use the simulation test network
      --bitcoin.regtest       Use the regression test network

Litecoin:
      --litecoin.active       If the chain should be active or not
      --litecoin.mainnet      Use the main network
      --litecoin.testnet      Use the test network
      --litecoin.simnet       Use the simulation test network
      --litecoin.regtest      Use the regression test network

Help Options:
  -h, --help                  Show this help message

Usage:
  lndconnect [OPTIONS]

Application Options:
      --lnddir=               The base directory that contains lnd's data, logs, configuration file, etc. (default:
                              /home/ubuntu/.lnd)
      --configfile=           Path to configuration file (default: /home/ubuntu/.lnd/lnd.conf)
  -b, --datadir=              The directory to find lnd's data within (default: /home/ubuntu/.lnd/data)
      --tlscertpath=          Path to read the TLS certificate from (default: /home/ubuntu/.lnd/tls.cert)
      --adminmacaroonpath=    Path to read the admin macaroon from
      --readonlymacaroonpath= Path to read the read-only macaroon from
      --invoicemacaroonpath=  Path to read the invoice-only macaroon from

LndConnect:
  -i, --localip               Include local ip in QRCode
  -l, --localhost             Use 127.0.0.1 for ip
      --host=                 Use specific host name
      --nocert                Don't include the certificate
  -p, --port=                 Use this port (default: 10009)
  -j, --url                   Display url instead of a QRCode
  -o, --image                 Output QRCode to file
      --invoice               Use invoice macaroon
      --readonly              Use readonly macaroon
  -q, --query=                Add additional url query parameters

Bitcoin:
      --bitcoin.active        If the chain should be active or not
      --bitcoin.mainnet       Use the main network
      --bitcoin.testnet       Use the test network
      --bitcoin.simnet        Use the simulation test network
      --bitcoin.regtest       Use the regression test network

Litecoin:
      --litecoin.active       If the chain should be active or not
      --litecoin.mainnet      Use the main network
      --litecoin.testnet      Use the test network
      --litecoin.simnet       Use the simulation test network
      --litecoin.regtest      Use the regression test network

Help Options:
  -h, --help                  Show this help message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions