If you send a change before Thursday evening (PST), I'll get it in (planning to 
get your other changes then as well).  Otherwise, I'll try to reserve some time 
to make the change myself... but I'm randomized like you wouldn't believe so 
I'm a gamble for any given change.  <smile/>

-----Original Message-----
From: Neil Sleightholm [mailto:[email protected]]
Sent: Tuesday, January 27, 2009 08:28
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Heat change -indent

I agree, drop colon but use a space. Is this likely to go in this week?
If so I'll revise the documentation and post a patch here.

Neil

-----Original Message-----
From: Rob Mensching [mailto:[email protected]]
Sent: 27 January 2009 16:04
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Heat change -indent

Yeah, it looks like there are a lot of things that have slipped in that
are using a colon when I wasn't watching closely.  I really dislike the
colon syntax (since it can mess up tab completion so much).  I also
agree, that the lack of space in the current "-indent" is not very clear
either.  What if we move "-indent" to use a space separated thing and
I'll continue to mull over the other colon syntax... maybe create the
alternative syntaxes (-ice ICE01) and eventually deprecate the old
syntax.

Hmm, ick.  I really dislike inconsistencies like this.


-----Original Message-----
From: Neil Sleightholm [mailto:[email protected]]
Sent: Friday, January 23, 2009 15:21
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Heat change -indent

Before I posted I checked other code:
        light, -ice:, -sice:, -dcl:
        smoke, -ice:
most code:
        -out option

I think the space and colon are used commonly.

Personally, ident4 v. indent:4 v. indent 4 - I prefer the colon,
although I also like "-out filename"!

Is there a standard for command line options in Windows applications? I
found this:
http://www.microsoft.com/technet/scriptcenter/topics/winpsh/cmdline_std.
mspx in it it states that a parameter name and its arguments should be
separated by a colon or whitespace; so that would mean "-indent[:| ]n" -
does that sound like a good compromise? That would make the code:
            else if (parameter.StartsWith("indent",
StringComparison.Ordinal))
            {
                try
                {
                    this.indent = Int32.Parse(parameter.Substring(7),
CultureInfo.InvariantCulture);
                }


Neil

-----Original Message-----
From: Rob Mensching [mailto:[email protected]]
Sent: 23 January 2009 19:33
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Heat change -indent

Documentation is busted, oops.  However, none of the standard heat
arguments use a colon.  The other things are extensions and are not part
of heat.  The colon was unusual compared to most of the other options.
It doesn't help that light is confused (like -cultures <sigh/>).

Colons have been issues due to tab completion and I've heard PowerShell
integration (I don't actually use PowerShell so that's all secondhand).
Those reasons are why we've avoided the colon for most cases and instead
use spaces (or no space).

Thoughts?

(documentation definitely needs to be fixed if it stays this way).

-----Original Message-----
From: Neil Sleightholm [mailto:[email protected]]
Sent: Friday, January 23, 2009 10:49
To: [email protected]
Subject: [WiX-devs] Heat change -indent

One of my Heat changes was implemented slightly differently to how I did
it. I implemented -indent:<n> but it was implemented -indent<n>, the
reason I included the colon was to match WiXCop and some of the other
Heat options (e.g. -t, -template and -pog) plus I think it is more
legible. (The Heat documentation was also written to include the colon
so would need revising.)

Please could the colon be put back?

Thanks

Neil

Neil Sleightholm
X2 Systems Limited
[email protected]


------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs


------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs


------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to