summaryrefslogtreecommitdiff
path: root/mate-terminal.wrapper
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-04-21 13:17:19 +0100
committerStefano Karapetsas <[email protected]>2015-05-06 14:40:32 +0200
commit48510cd90cbe7da41c60d09f6fd9d0e9eaaeaed8 (patch)
tree303d5a445658d1e407df6f3d71f4a3f8c28a4027 /mate-terminal.wrapper
parent37ff9fcae6e45c813d65a7b0c407026b874b3298 (diff)
downloadmate-terminal-48510cd90cbe7da41c60d09f6fd9d0e9eaaeaed8.tar.bz2
mate-terminal-48510cd90cbe7da41c60d09f6fd9d0e9eaaeaed8.tar.xz
Correct indentation.
Diffstat (limited to 'mate-terminal.wrapper')
-rwxr-xr-xmate-terminal.wrapper58
1 files changed, 29 insertions, 29 deletions
diff --git a/mate-terminal.wrapper b/mate-terminal.wrapper
index 10f44f2..76519ab 100755
--- a/mate-terminal.wrapper
+++ b/mate-terminal.wrapper
@@ -6,72 +6,72 @@ while ($opt = shift(@ARGV))
{
if ($opt eq '-display')
{
- $ENV{'DISPLAY'} = shift(@ARGV);
+ $ENV{'DISPLAY'} = shift(@ARGV);
}
elsif ($opt eq '-name')
{
- $arg = shift(@ARGV);
- push(@args, "--window-with-profile=$arg");
+ $arg = shift(@ARGV);
+ push(@args, "--window-with-profile=$arg");
}
elsif ($opt eq '-n')
{
- # Accept but ignore
- print STDERR "$0: to set an icon, please use -name <profile> and set a profile icon\n"
+ # Accept but ignore
+ print STDERR "$0: to set an icon, please use -name <profile> and set a profile icon\n"
}
elsif ($opt eq '-T' || $opt eq '-title')
{
- push(@args, '-t', shift(@ARGV));
+ push(@args, '-t', shift(@ARGV));
}
elsif ($opt eq '-ls')
{
- $login = 1;
+ $login = 1;
}
elsif ($opt eq '+ls')
{
- $login = 0;
+ $login = 0;
}
elsif ($opt eq '-geometry')
{
- $arg = shift(@ARGV);
- push(@args, "--geometry=$arg");
+ $arg = shift(@ARGV);
+ push(@args, "--geometry=$arg");
}
elsif ($opt eq '-fn')
{
- $arg = shift(@ARGV);
- push(@args, "--font=$arg");
+ $arg = shift(@ARGV);
+ push(@args, "--font=$arg");
}
elsif ($opt eq '-fg')
{
- $arg = shift(@ARGV);
- push(@args, "--foreground=$arg");
+ $arg = shift(@ARGV);
+ push(@args, "--foreground=$arg");
}
elsif ($opt eq '-bg')
{
- $arg = shift(@ARGV);
- push(@args, "--background=$arg");
+ $arg = shift(@ARGV);
+ push(@args, "--background=$arg");
}
elsif ($opt eq '-tn')
{
- $arg = shift(@ARGV);
- push(@args, "--termname=$arg");
+ $arg = shift(@ARGV);
+ push(@args, "--termname=$arg");
}
elsif ($opt eq '-e')
{
- $arg = shift(@ARGV);
- if (@ARGV)
- {
- push(@args, '-x', $arg, @ARGV);
+ $arg = shift(@ARGV);
+ if (@ARGV)
+ {
+ push(@args, '-x', $arg, @ARGV);
+ last;
+ }
+ else
+ {
+ push(@args, '-e', $arg);
+ }
last;
}
- else
- {
- push(@args, '-e', $arg);
- }
- last;
- }
elsif ($opt eq '-h' || $opt eq '--help')
{
- push(@args, '--help');
+ push(@args, '--help');
}
}
if ($login == 1)