search for: cmdline_opt

Displaying 20 results from an estimated 20 matches for "cmdline_opt".

Did you mean: cmdline_opts
2018 Sep 20
1
Re: [PATCH 1/2] mltools: create a cmdline_options struct
...eadable_fn option > readable output to, in case it was enabled via > [--machine-readable]. *) > > -val create_standard_options : Getopt.speclist -> ?anon_fun:Getopt.anon_fun -> ?key_opts:bool -> ?machine_readable:bool -> Getopt.usage_msg -> Getopt.t > +type cmdline_options = { > + getopt : Getopt.t; (** The actual Getopt handle. *) > +} > +(** Structure representing all the data needed for handling command > + line options. *) > + > +val create_standard_options : Getopt.speclist -> ?anon_fun:Getopt.anon_fun -> ?key_opts:bo...
2018 Sep 19
0
[PATCH 1/2] mltools: create a cmdline_options struct
...prerr_endline "on-stderr"; diff --git a/common/mltools/tools_utils.ml b/common/mltools/tools_utils.ml index c4f230275..2b2d43db9 100644 --- a/common/mltools/tools_utils.ml +++ b/common/mltools/tools_utils.ml @@ -259,6 +259,10 @@ let machine_readable () = in Some { pr } +type cmdline_options = { + getopt : Getopt.t; +} + let create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_readable = false) usage_msg = (** Install an exit hook to check gc consistency for --debug-gc *) let set_debug_gc () = @@ -306,7 +310,10 @@ let create_standard_options argspec ?anon...
2002 Aug 14
0
automake 1.6 compatability patch
...2002 02:45:37 -0000 1.26 +++ ogg123/Makefile.am 14 Aug 2002 17:12:18 -0000 @@ -2,8 +2,8 @@ AUTOMAKE_OPTIONS = foreign -mans = ogg123.1 -docs = ogg123rc-example +man_pages = ogg123.1 +doc_files = ogg123rc-example ogg123sources = audio.c buffer.c callbacks.c \ cfgfile_options.c cmdline_options.c \ file_transport.c format.c http_transport.c \ @@ -16,12 +16,19 @@ if BUILD_OGG123 +mans=$(man_pages) +docs=$(doc_files) +else +mans= +docs=$(doc_files) +endif datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -...
2013 May 28
5
[PATCH 1/6] Remove the --quiet (-q) option from vorbiscomment.1 man page.
--- vorbiscomment/vorbiscomment.1 | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/vorbiscomment/vorbiscomment.1 b/vorbiscomment/vorbiscomment.1 index 0108e78..2bceb83 100644 --- a/vorbiscomment/vorbiscomment.1 +++ b/vorbiscomment/vorbiscomment.1 @@ -39,13 +39,11 @@ Reads, modifies, and appends Ogg Vorbis audio file metadata tags. .IP "-a, --append" Append
2002 Oct 05
2
ogg123 remote interface
...audio_play_arg_t audio_play_arg; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); ao_initialize(); - stat_format = stat_format_create(); options_init(&options); file_options_init(file_opts); @@ -295,7 +289,7 @@ optind = parse_cmdline_options(argc, argv, &options, file_opts); audio_play_arg.devices = options.devices; - audio_play_arg.stat_format = stat_format; + audio_play_arg.stat_format = stat_format_create(); /* Add remaining arguments to playlist */ for (i = optind; i < argc; i++) { @@ -341,6 +335,7 @@...
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...: +45 3582 9079 Schou Industries ApS http://schou.dk/ CVR: 26 13 44 39 -------------------------------------------------------------- Please don't call me at all, (E-)mail is sufficient) -- Anne Bezemer -------------- next part -------------- diff -Naur vorbis-tools-1.0.orig/ogg123/cmdline_options.c vorbis-tools-1.0/ogg123/cmdline_options.c --- vorbis-tools-1.0.orig/ogg123/cmdline_options.c Thu Jul 11 04:44:39 2002 +++ vorbis-tools-1.0/ogg123/cmdline_options.c Sun Mar 9 16:28:14 2003 @@ -37,6 +37,7 @@ {"device", required_argument, 0, 'd'}, {"file",...
2003 Feb 28
2
ogg123 -k 1:59 patch.ogg # minutes and seconds
...apter, it is a little troublesome to calculate the seconds. Minutes is much more convenient as it is what is written on the screen. I guess my patch is a little buggy and would like to improve it upon request (guidelines are welcome). Anyway, here it is: diff -Naur vorbis-tools-1.0.orig/ogg123/cmdline_options.c vorbis-tools-1.0/ogg123/cmdline_options.c --- vorbis-tools-1.0.orig/ogg123/cmdline_options.c Thu Jul 11 04:44:39 2002 +++ vorbis-tools-1.0/ogg123/cmdline_options.c Thu Feb 27 13:37:46 2003 @@ -50,6 +50,24 @@ {0, 0, 0, 0} }; +double minsec_atof(const char *nptr) +{ + const char *p = np...
2004 Jun 15
3
Repeat patch for ogg123
...where n indicates how many times it repeats the playlists. Zero in forever. Apply it if you like, I find it very convenient. -- Regards Niels Sandmann Jabber: sandmann@jabber.dk, Email: sandm@nn.dk -------------- next part -------------- Only in ogg123: .deps Only in ogg123: .libs diff -u ogg123/cmdline_options.c ogg123-mine/cmdline_options.c --- ogg123/cmdline_options.c 2004-06-15 17:21:18.000000000 +0200 +++ ogg123-mine/cmdline_options.c 2004-06-15 17:26:19.000000000 +0200 @@ -48,6 +48,7 @@ {"shuffle", no_argument, 0, 'z'}, {"list", required_argument, 0, '@'}, {&q...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...= --- ogg123/buffer.c (revision 11702) +++ ogg123/buffer.c (working copy) @@ -15,6 +15,9 @@ ********************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <sys/types.h> #include <sys/wait.h> Index: ogg123/cmdline_options.c =================================================================== --- ogg123/cmdline_options.c (revision 11702) +++ ogg123/cmdline_options.c (working copy) @@ -15,14 +15,14 @@ ********************************************************************/ +#ifdef HAVE_CONFIG_H +#include <con...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...= --- ogg123/buffer.c (revision 11702) +++ ogg123/buffer.c (working copy) @@ -15,6 +15,9 @@ ********************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <sys/types.h> #include <sys/wait.h> Index: ogg123/cmdline_options.c =================================================================== --- ogg123/cmdline_options.c (revision 11702) +++ ogg123/cmdline_options.c (working copy) @@ -15,14 +15,14 @@ ********************************************************************/ +#ifdef HAVE_CONFIG_H +#include <con...
2003 Dec 11
1
Problems building vorbis tools 1.0.1
...hives/vorbis-dev/200201/0005.html (make was looking for libogg.la in the wrong path) but creating a symlink to /usr/local/lib/libogg.la in /usr/lib/ helped. :) having solved this, I get a new error: --- gcc -O20 -ffast-math -fsigned-char -o ogg123 audio.o buffer.o callbacks.o cfgfile_options.o cmdline_options.o file_transport.o format.o http_transport.o ogg123.o oggvorbis_format.o playlist.o status.o transport.o vorbis_comments.o flac_format.o easyflac.o speex_format.o ../share/libutf8.a ../share/libgetopt.a /usr/local/lib/libvorbisfile.so /usr/local/lib/libvorbis.so /usr/local/lib/libao.so -l...
2018 Sep 19
5
[PATCH 0/2] RFC: --key option for tools
Hi, the following series adds a --key option in the majority of tools: this makes it possible to pass LUKS credentials programmatically, avoid the need to manually input them, or unsafely pass them via stdin. Thanks, Pino Toscano (2): mltools: create a cmdline_options struct Introduce a --key option in tools that accept keys builder/cmdline.ml | 2 +- builder/repository_main.ml | 2 +- cat/cat.c | 6 + cat/log.c | 6 + cat/ls.c...
2019 Mar 28
0
[PATCH v2 1/4] common/mltools: move the code for machine readable up
...an -> Some chan - | File f -> Some (open_out f) in - machine_readable_channel := chan - ); - !machine_readable_channel - in - match chan with - | None -> None - | Some chan -> - let pr fs = - ksprintf (output_string chan) fs - in - Some { pr } - type cmdline_options = { getopt : Getopt.t; ks : key_store; -- 2.20.1
2006 Dec 15
2
Boot load wcfxo does not configure self under Ubuntu 6
When booting Ubuntu 6.06.1 (Linux 2.6.15-27-386), wcfxo would load but not configure. I have three ways to manually force wcfxo to configure: 1) ztcfg, 2) modprobe -f wcfxo, or of course 3) unload and reload wcfxo. Each works equally well. As a workaround, now I have to put ztcfg in rc.local, which Debian doesn't favour. I had compiled the same zaptel under Ubuntu 5.02.0 on two
2006 Nov 30
6
zaptel compilation problems with linux 2.6.19
Hello! I have problems compiling zaptel (tried 1.2.11, 1.2.10 and 1.4.0-beta2 -- all give the same error) with 2.6.19 kernel CC [M] /home/roman/install/asterisk/zaptel-1.4.0-beta2/xpp/card_fxo.o In file included from /home/roman/install/asterisk/zaptel-1.4.0-beta2/xpp/xpd.h:26, from /home/roman/install/asterisk/zaptel-1.4.0-beta2/xpp/card_fxo.c:28:
2003 Jan 16
1
Several problems with ogg123
...one. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x28253a48 in .cerror () from /usr/lib/libc.so.4 (gdb) bt #0 0x28253a48 in .cerror () from /usr/lib/libc.so.4 #1 0x283a3633 in _exit () from /usr/lib/libc_r.so.4 #2 0x28253947 in exit () from /usr/lib/libc.so.4 #3 0x804ce53 in parse_cmdline_options (argc=2, argv=0xbfbff60c, ogg123_opts=0x80570e0, file_opts=0x8055c6c) at cmdline_options.c:102 #4 0x804e609 in main (argc=2, argv=0xbfbff60c) at ogg123.c:295 #5 0x8049e9e in _start () <p>I've compiled the sources myself, and tried the versions from the FreeBSD ports collection...
2019 Mar 28
8
[PATCH v2 0/4] OCaml tools: output messages as JSON machine
Enhance the output in machine parseable mode, by outputting all the messages of OCaml tools as JSON to the machine parseable stream. Related, although not strictly needed for this (and thus can be split if requested), is the addition of the fd format for the machine readable stream. Changes from v1: - use Obj.magic to convert int -> Unix.file_descr - add tests Pino Toscano (4):
2007 Apr 30
4
Zaptel kernel module load order
Evening, My latest asterisk box is having a difficult problem. It is configured with one TE210P and TDM400P with four FXO modules. I'm running FC6. The TE210P only has a single PRI. When the system boots, it is completely random what order the zaptel modules will get loaded in. Sometimes zttool shows the FXO as the last span, sometimes as the first. When it does load as the first, which
2018 Sep 19
0
[PATCH 2/2] Introduce a --key option in tools that accept keys
...crypt" external c_set_echo_keys : unit -> unit = "guestfs_int_mllib_set_echo_keys" "noalloc" external c_set_keys_from_stdin : unit -> unit = "guestfs_int_mllib_set_keys_from_stdin" "noalloc" @@ -261,6 +268,7 @@ let machine_readable () = type cmdline_options = { getopt : Getopt.t; + ks : key_store; } let create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_readable = false) usage_msg = @@ -288,6 +296,9 @@ let create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_read error (f_"invalid outpu...
2019 Mar 22
8
[PATCH 0/4] OCaml tools: output messages as JSON machine
Enhance the output in machine parseable mode, by outputting all the messages of OCaml tools as JSON to the machine parseable stream. Related, although not strictly needed for this (and thus can be split if requested), is the addition of the fd format for the machine readable stream. Pino Toscano (4): common/mltools: move the code for machine readable up common/mltools: make sure machine