Reverted menu-left-example.png back to original and cleaned up menu-top-example to...
[freeside.git] / FS / bin / freeside-radgroup
index e1a8197..3326329 100644 (file)
@@ -20,7 +20,7 @@ if ( lc($action) eq 'add' ) {
     next if grep { $_ eq $groupname } @groups;
     push @groups, $groupname;
     my %hash = $svc_acct->hash;
-    $hash{radius_groups} = \@groups;
+    $hash{usergroup} = \@groups;
     my $new = new FS::svc_acct \%hash;
     my $error = $new->replace($svc_acct);
     die $error if $error;
@@ -52,13 +52,13 @@ freeside-radgroup - Command line utility to manipulate radius groups
 
 =head1 DESCRIPTION
 
-  B<user> is a freeside user as added with freeside-adduser.
+B<user> is a freeside user as added with freeside-adduser.
 
-  B<command> is the action to take.  Available actions are: I<add>
+B<command> is the action to take.  Available actions are: I<add>
 
-  B<groupname> is the group to add (or remove, etc.)
+B<groupname> is the group to add (or remove, etc.)
 
-  B<svcpart> specifies which accounts will be updated.
+B<svcpart> specifies which accounts will be updated.
 
 =head1 EXAMPLES