Skip to main content
0 votes
1 answer
76 views

I'm writing a Rust program where I do manual command-line argument parsing. I skip the first argument since that's the executable and I don't care about that, then check the second argument for what ...
Newbyte's user avatar
  • 3,957
2 votes
1 answer
96 views

I am trying to debug python code in vscode using a launch config that asks for command line arguments. My script is located here: C:\Users\USERNAME\FolderName - With Spaces\_MyHome\Documents\Dev\...
skeetastax's user avatar
  • 1,816
12 votes
4 answers
664 views

I'm writing a Python script using subprocess to hardcode subtitles onto a video. My code builds a complex filter graph for ffmpeg's -vf argument, which includes burning in multiple layers of styled ...
phpjunkie's user avatar
  • 475
1 vote
2 answers
134 views

I want to add a Option<bool> to the root command but still show the default output when the option is not provided. RootCommand rootCommand = new RootCommand("My root command"); ...
khteh's user avatar
  • 4,280
-1 votes
1 answer
90 views

I'm struggling to get runtime arguments and combine them into a list. I'd like for run-time arguments to be like the following python main.py --all or python main.py --endpoint1 --endpoint2. I only ...
simplycoding's user avatar
  • 3,011
-1 votes
2 answers
72 views

I want my application to work on several files and have a different set of options for each input file: python my.py -a file_a -b file_b --do-stuff=x file_c ffmpeg uses this idea for its command line ...
anatolyg's user avatar
  • 28.5k
0 votes
1 answer
110 views

I am writing a program for working with functions and graphs, but that is beside the point. In my int main() I just look at the command line arguments, and then match them up to the expected result. ...
qweenkie's user avatar
0 votes
0 answers
42 views

In case it matters, I'm running 2025.06.25 of OpenSCAD. If I have an instance of OpenSCAD running I can open additional source files such as libraries in the same instance using the menu system. Such ...
bielawski's user avatar
  • 1,740
5 votes
1 answer
210 views

A while ago there was a security advisory published for Rust that the standard library's Command API was not sufficiently handling arguments passed to cmd.exe and .bat files such that malicious ...
kmdreko's user avatar
  • 65.4k
1 vote
1 answer
86 views

Search engines and reading the manuals are failing me. I'm not sure if there's a way to have E.G. gcc or clang output the final 'configuration' result of parsed command line arguments to check myself ...
Michael J. Evans's user avatar
-1 votes
1 answer
94 views

I used a new machine with VSCode for the 1st time. I moved my dev setup there, including EDITOR env var with code -wr. But I noticed e.g. git wasn't opening the file in the same window, unlike on old ...
Destroy666's user avatar
  • 1,600
2 votes
1 answer
67 views

I have a script that parses command line arguments after using getopt. The issue is that the -- before my positional arguments is caught by my --usage) case, thus showing usage text erroneously. Is ...
CompSciDude's user avatar
0 votes
1 answer
85 views

My Ansible task to install Liberty on an AIX server worked as expected and then when I tried another version it just fails now. It's possible that I am not seeing the actual cause of my issue but ...
Jason Skeel's user avatar
0 votes
1 answer
107 views

I'm working on a Spring Shell-based application where I need to process dynamic command-line arguments. I have implemented logic for a specific format, but I’m encountering issues when the order and ...
Raghuveera Kore's user avatar
0 votes
1 answer
348 views

I have a System.CommandLine .NET 9 command line application. It's mostly used for scheduled tasks and the like, but sometimes users need to run it manually. When run manually, while the help is good, ...
Keith's user avatar
  • 157k

15 30 50 per page
1
2 3 4 5
338