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