Skip to content

get_docopts.sh fails with "unrecognized option '--ignore-missing'" #56

Open
@stephenchu

Description

@stephenchu

On my macOS, it works; but on my linux, get_docopts.sh (from script) fails with:

Saving to: ‘docopts_linux_amd64’

100%[==================================================================================================================================================================================================================================================================================================================================>] 1,949,696   --.-K/s   in 0.04s

2021-11-19 14:51:33 (41.8 MB/s) - ‘docopts_linux_amd64’ saved [1949696/1949696]

docopts_linux_amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
verifying sha256sum signature from https://github.com/docopt/docopts/releases/download/v0.6.3-rc2/sha256sum.txt ...
sha256sum: unrecognized option '--ignore-missing'
Try 'sha256sum --help' for more information.
› sha256sum --help
Usage: sha256sum [OPTION]... [FILE]...
Print or check SHA256 (256-bit) checksums.
With no FILE, or when FILE is -, read standard input.

  -b, --binary         read in binary mode
  -c, --check          read SHA256 sums from the FILEs and check them
      --tag            create a BSD-style checksum
  -t, --text           read in text mode (default)
  Note: There is no difference between binary and text mode option on GNU system.

The following four options are useful only when verifying checksums:
      --quiet          don't print OK for each successfully verified file
      --status         don't output anything, status code shows success
      --strict         exit non-zero for improperly formatted checksum lines
  -w, --warn           warn about improperly formatted checksum lines

      --help     display this help and exit
      --version  output version information and exit

The sums are computed as described in FIPS-180-2.  When checking, the input
should be a former output of this program.  The default mode is to print
a line with checksum, a character indicating input mode ('*' for binary,
space for text), and name for each FILE.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
For complete documentation, run: info coreutils 'sha256sum invocation'
› sha256sum --version
sha256sum (GNU coreutils) 8.22
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Ulrich Drepper, Scott Miller, and David Madore.
› uname -a
Linux host.redacted.com 4.14.123-111.109.amzn2.x86_64 #1 SMP Mon Jun 10 19:37:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for userSome suggestion has been made in the issue, please give some feedback.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions