Open devkabiir opened 5 years ago
Thanks for the bug report. We will investigate.
I downloaded and builded from source some hours ago, and I just checked and for me gtm status
works as expected. I also can write the flags in any form and always works:
-terminal-off
-terminal-off=true
--terminal-off
--terminal-off=true
Testing in Ubuntu 16.04. So maybe is something windows-related.
You tried simply -terminal-off
(only one dash)? it's not in the things you said you tried, and I think it's the way that the command help shows.
Also, as maybe you have (or going to have) the source code and compiling from there soon, you can log what the command is receiving, i.e. the raw args in string form, and try to check what is going on. Also running the tests would be a good idea. I doubt something windows-related will be shown in the tests, but it's worth trying.
You tried simply
-terminal-off
(only one dash)? it's not in the things you said you tried, and I think it's the way that the command help shows.
Yes I did, and to make sure I tried again
With flag
gtm status -terminal-off -total-only
4h27m0s
Without flag
gtm status -total-only
4h27m0s
It has the same output.
Also, I have tried this with admin(superuser/root) and non-admin mode for windows
I'm on windows 10 x64 Following is the output I get regardless of the
-terminal-off
flagHowever
gtm report
does respect the-terminal-off
flag.I've also tried these flag variations, all output the same
--terminal-off
--terminal-off=true/false
Also,
Note: Regarding #50, I have a custom script that execute
gtm record -terminal
before every command is executed in windows.