Package: sigrok-cli
Version: 0.4.0-2
Severity: minor
Tags: patch
Dear Maintainer,
I tried to use sigrok-cli:
$ sigrok-cli --show
3 devices found. Use --list-devices to show them, and select one to show.
However:
$ sigrok-cli --list-devices
Unknown option --list-devices
Also, `sigrok-cli --help` does not mention this option, maybe `--scan` is the
one we want? At least the NEWS files mentions it:
$ grep -R -- --list-devices sigrok-cli-0.4.0/*
NEWS: - The -D|--list-devices option was renamed to --scan.
Just a small patch for us, a big patch for the first-time users.
-- System Information:
Debian Release: jessie/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (1,
'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sigrok-cli depends on:
ii libc6 2.17-97
ii libglib2.0-0 2.36.4-1
ii libsigrok1 0.2.0-2.1
ii libsigrokdecode1 0.2.0-2+b1
sigrok-cli recommends no packages.
sigrok-cli suggests no packages.
-- no debconf information
Subject: `sigrok-cli --list-devices` has been renamed to `--scan`
From: Roland Hieber <[email protected]>
Index: sigrok-cli-0.4.0/sigrok-cli.c
===================================================================
--- sigrok-cli-0.4.0.orig/sigrok-cli.c 2013-05-04 21:38:10.000000000 +0200
+++ sigrok-cli-0.4.0/sigrok-cli.c 2014-02-05 18:30:52.205022428 +0100
@@ -343,7 +343,7 @@
num_devices = g_slist_length(devices);
if (num_devices > 1) {
- g_critical("%d devices found. Use --list-devices to show them, "
+ g_critical("%d devices found. Use --scan to show them, "
"and select one to show.", num_devices);
return;
}