1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Dont apply default options on the httpie command (#1280)

* Mark tests with requires_installation

* Dont apply default options on the httpie command

* lint
This commit is contained in:
Batuhan Taskaya
2022-01-24 21:13:47 +03:00
committed by GitHub
parent 45fcd746d7
commit 813e8864a1
4 changed files with 35 additions and 3 deletions

View File

@@ -37,7 +37,8 @@ def main(args: List[Union[str, bytes]] = sys.argv, env: Environment = Environmen
parser=parser,
main_program=main_program,
args=args,
env=env
env=env,
use_default_options=False,
)
except argparse.ArgumentError:
program_args = args[1:]