Project

General

Profile

Actions

action #87647

closed

openqa-cli api ignores extra arguments

Added by livdywan over 3 years ago. Updated about 2 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2021-01-12
Due date:
% Done:

0%

Estimated time:

Description

Something like

openqa-cli api --host https://openqa.opensuse.org assets ignores extra arguments

probably shouldn't work.

Although at least os-autoinst/scripts has relied on this behavior for a while now.

This isn't causing any problems that I can see, if a little confusing.

Actions #1

Updated by kraih over 3 years ago

Might be reasonable to make it die with a good error message. Makes it easier to convert from client to openqa-cli.

Actions #2

Updated by okurz over 3 years ago

  • Target version set to future

Would be nice to improve that. I would not be concerned with "backward compatibility" within openqa-cli as the new tool. For our "old, deprecated, obsolete use cases" we still have "openqa-client" :)

Actions #3

Updated by okurz over 2 years ago

Can you be more specific about the expected cases and the actual cases? When I call openqa-cli api --host https://openqa.opensuse.org assets I get a huge list of assets. You want to filter that list or what? And when I call openqa-cli api --host https://openqa.opensuse.org --foo I get "Unknown option: foo", the complete usage information and a non-zero exit code. So that looks good so far.

Actions #4

Updated by okurz about 2 years ago

  • Status changed from New to Rejected
  • Assignee set to okurz

no response

Actions

Also available in: Atom PDF