Encountered an error while using WEB Shell

melon

Member
Mar 18, 2022
19
0
6
22
20221113025558.png

Does not affect the use, just want to know how to solve this problem, there is obsessive-compulsive disorder.
Can anyone tell me how to solve it? thanks.
 
Good morning, look at this:
Code:
ub@ucsf (10.1.9.33) ~$ figlet - test
         _            _   
        | |_ ___  ___| |_
 _____  | __/ _ \/ __| __|
|_____| | ||  __/\__ \ |_
         \__\___||___/\__|
                          
ub@ucsf (10.1.9.33) ~$ figlet -- test
 _            _   
| |_ ___  ___| |_
| __/ _ \/ __| __|
| ||  __/\__ \ |_
 \__\___||___/\__|
                  
ub@ucsf (10.1.9.33) ~$ figlet --- test
figlet: invalid option -- '-'
Usage: figlet [ -cklnoprstvxDELNRSWX ] [ -d fontdirectory ]
              [ -f fontfile ] [ -m smushmode ] [ -w outputwidth ]
              [ -C controlfile ] [ -I infocode ] [ message ]

ub@ucsf (10.1.9.33) ~$ figlet -- --- test
                     _            _   
                    | |_ ___  ___| |_
 _____ _____ _____  | __/ _ \/ __| __|
|_____|_____|_____| | ||  __/\__ \ |_
                     \__\___||___/\__|
  • my first execution has one "-" --> fine
  • my second execution should have two "--" but gives... zero dashes in the output
  • my third execution produces your error message
  • the fourth execution with "-- ---" produces the desired three "---" in the output

Why is that? "--" starts the long version of an option. If you want to stop that, you tell it the interpreter by "-- ". After these special two dashes everything is a parameter for the called program ("figlet").

Btw: this is not Proxmox related... ;-)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!