You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
I am trying to convert some command line tools to the new kproj structure. Most of my command line tools accept options specified either with /, - or -- (last is more common for unix developers). I noticed that most command line option prefixes fail when using k run.
I build the following sample:
using System;
namespace ConsoleApp1
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine(string.Join("|", args));
Console.ReadLine();
}
}
}
Tried the following options:
C:\Users\Administrator\Documents\Visual Studio 14\Projects\ConsoleApp1\ConsoleAp
p1>k run -a
TODO: Error: unrecognized flag '-a'
C:\Users\Administrator\Documents\Visual Studio 14\Projects\ConsoleApp1\ConsoleAp
p1>k run -aa
TODO: Error: unrecognized flag '-aa'
C:\Users\Administrator\Documents\Visual Studio 14\Projects\ConsoleApp1\ConsoleAp
p1>k run /a
/a
The text was updated successfully, but these errors were encountered:
@davidfowl , just reproduced this problem, checked code and confirmed that we do aggressively parse options that K shouldn't consume. It's a bug of command-line parser.
@desdesdes , thanks for reporting this bug. It will be fixed soon.
I am trying to convert some command line tools to the new kproj structure. Most of my command line tools accept options specified either with /, - or -- (last is more common for unix developers). I noticed that most command line option prefixes fail when using k run.
I build the following sample:
Tried the following options:
The text was updated successfully, but these errors were encountered: