I want to see what shell command line were used to start Vim. For example, I used command
vim -S Session.vim
argv()
and argc()
don't show switches and it's parameters.
Command
:echo tr(join(readfile("/proc/" . getpid() . "/cmdline")), "\n", " ")
shows command line. But, is there more elegant (shorter) method?