diff options
author | Charlie Turner <chturne@gmail.com> | 2018-09-06 11:12:50 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-09-07 15:17:39 +0000 |
commit | 15c8e26a916fc9c949a06ce75949ca8ac2fb08a8 (patch) | |
tree | 7b4c65d5ee0c71bb2f0b17fd0f955884c641f385 /scripts | |
parent | 9edd0d9e66815d581f38ec83943ad02317e291da (diff) | |
download | flatpak-15c8e26a916fc9c949a06ce75949ca8ac2fb08a8.tar.gz |
flatpak-coredumpctl: -b option ignored the argument.
Due to a typo, the -b option was not placing the passed build directory
into the CoreDumper class.
Closes: #2076
Approved by: alexlarsson
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/flatpak-coredumpctl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/flatpak-coredumpctl b/scripts/flatpak-coredumpctl index ec0080cf..eb85301e 100755 --- a/scripts/flatpak-coredumpctl +++ b/scripts/flatpak-coredumpctl @@ -18,7 +18,7 @@ class CoreDumper(): def clean_args(self): if not self.build_directory and not self.app: - print("Either `--build-dir` or `APP` must be specified.", + print("Either `--build-directory` or `APP` must be specified.", file=sys.stderr) return False @@ -62,7 +62,7 @@ if __name__ == "__main__": parser = argparse.ArgumentParser( "Debug in gdb an application that crashed inside flatpak." " It uses (and thus requires) coredumpctl to retrieve the coredump file.") - parser.add_argument('-b', '--build-dir', default=None, + parser.add_argument('-b', '--build-directory', default=None, help="The build directory to use. It allows you to retrieve a coredump" " for applications being built") parser.add_argument('--extra-flatpak-args', default="", |