diff options
Diffstat (limited to 'icevault')
-rwxr-xr-x | icevault | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -552,6 +552,13 @@ if ($command eq '_complete') { exit; } +elsif ($command eq '_geturi') { + # used internaly for auto-completion + usage(1) if @ARGV; + print $LOCALE->encode( &connect($CONFIG{socket}) ), "\n"; + sendCommand 'QUIT'; + exit; +} elsif ($command eq 'insert') { usage(1) unless $#ARGV < 1; my $uri = &connect($CONFIG{socket}); |