X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-CMAE-Analysis: v=2.4 cv=FanyeLy6 c=1 sm=1 tr=0 ts=6059134b a=+cj0cO56Fp8x7EdhTra87A==:117 a=96UBcJ0FcieRWPM4mBpR+A==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=dESyimp9J3IA:10 a=ZLGELXoPAAAA:8 a=Mj1Xp5F7AAAA:8 a=NbIeMX4E0jk2DI8e5AYA:9 a=QEXdDO2ut3YA:10 a=CFiPc5v16LZhaT-MVE1c:22 a=OCttjWrK5_uSHO_3Hkg-:22 X-SECURESERVER-ACCT: glimrick AT epilitimus DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=epilitimus.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XQqzTfRyZRq39hlXDPCwsqAU58sxHcrG0hfgLzT9Quk=; b=lWduend8NxIHG5M4X82V/EOL2r 57nlbSJWZLkNXgEnaa08kITh/yrouBxD1M2pg4RDIs9HGJoiMsapmZiLTTJsYbg8IfBKDKOPnEy7O j7oNZPOrxr8mflbfwsGWx5+k3MMhdF4rwUBNbiehxbw3Iqi5AhBg2XsCn6DDN+XSZjfUY4+bXAyQ/ dBs7xDszyGeIgj9pUaeL9ZUisFZiFpw0shS8mklrvnWB4Cmw2nt4L65XB4Rh/lCACApKhuYZtB0lH /15IZanQK71BKx86PNbFOt3ez4+4MoSe6OXqopqc/+5W1/+Im6mVyAsb3+yQx4LsNtdqUE8IXEw74 sFa6ABQA==; Subject: Re: [geda-user] gaf export --layout does not allow an argument To: geda-user AT delorie DOT com References: From: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" Message-ID: <563cd890-f025-6cd5-2b09-73dabe4be742@epilitimus.com> Date: Mon, 22 Mar 2021 13:59:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0121.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - epilitimus.com X-Get-Message-Sender-Via: a2plcpnl0121.prod.iad2.secureserver.net: authenticated_id: glimrick AT epilitimus DOT com X-Authenticated-Sender: a2plcpnl0121.prod.iad2.secureserver.net: glimrick AT epilitimus DOT com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4xfIOcdKm2nxzRU3FNlSWTQ/LmjnLsgg53fm7cmDA0e3Emv1qlNaCdDhnnCeyxvUnnn1V2Pjz5NpdqTn2utm2wnUn+AaPsXvJNSwuljHnMBTPgvEFf2ucr kGeSyizCYmvR92Dt0gY9rODu98wK+0NJxTGjK9wuhkq10Iti91ArabtNOjhqmicmk1ieMILRzD6+o6OUGeFRGJWkrhngsPw55uyizs9xG0q2T9uJBsSyplKW Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Confirmed it is a bug. line 890 of gaf/export,c should read:   {"layout", required_argument, NULL, 'l'}, The short version doesn't have the problem. Girvin: until it is fixed use -l instead of --layout Glenn Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com] wrote: > > Greetings, > > gaf version 1.10.2 (g5a69d90) under Slackware Linux 14.2 (32-bit > k4.4.240). > > I am using "gaf export" as one step to convert some of my .sch files > to dxf for qcad. The B-size (11x17) option in my script produces a > portrait output when I need landscape, so I tried using > "--layout=landscape" as an argument to "gaf export" but it responds > with an error: > > export: option '--layout' doesn't allow an argument > > The help ("gaf export --help") says: > >   -l, --layout=ORIENT    page orientation > > The gaf manpage says: > >        -l, --layout=(auto | landscape | portrait) >                When  using  a paper size, set the orientation of the > output.  If `auto' layout is >                used, the orientation that best fits the drawing will > be used. > > Bug? Is this argument position dependent? I have it at the end of the > arguments, just before the input file spec. Here is my script line for > gaf: > > PSIZE="na_ledger" > > PLAYOUT="--layout=landscape" > > gaf export -o ${TEMPFILE} -f ps --paper=${PSIZE} --no-color ${PLAYOUT} > ${INFILE} || exit > > To be complete, gaf is converting to PostScript and that file is > subsequently input to pstoedit to convert the PostScript file to dxf. > > Thanks. > Girvin > > >